v3.26.1
Summary of Significant Accounting Policies - Additional Information (Detail)
$ in Millions
12 Months Ended
May 31, 2026
USD ($)
Segment
May 31, 2025
USD ($)
May 31, 2024
USD ($)
Significant Accounting Policies [Line Items]      
Number of operating segments | Segment 2    
Accounts receivable, net $ 146.8 $ 153.4 $ 173.0
Depreciation expense 24.4 25.6 21.8
Cost of goods and services sold 461.9 473.3 460.3
Cash held at foreign subsidiaries 110.3 58.5  
Foreign currency losses 5.8 3.7 5.2
Shipping and Handling      
Significant Accounting Policies [Line Items]      
Cost of goods and services sold 25.1 29.7 25.3
Advertising Cost      
Significant Accounting Policies [Line Items]      
Cost of goods and services sold $ 3.2 $ 4.1 $ 3.3
Customer One      
Significant Accounting Policies [Line Items]      
Account receivable percentage from major customer 10.00% 10.00%  
Customer or Distributor | Revenues | Customer Concentration Risk      
Significant Accounting Policies [Line Items]      
Concentration risk, percentage 10.00% 10.00% 10.00%
Minimum      
Significant Accounting Policies [Line Items]      
Finite lived intangible assets, useful life 2 years    
Stock option vesting period 3 years    
Minimum | Buildings And Improvements      
Significant Accounting Policies [Line Items]      
Property, Plant and Equipment, Useful Life 7 years    
Minimum | Furniture, fixtures, computers and machinery and equipment      
Significant Accounting Policies [Line Items]      
Property, Plant and Equipment, Useful Life 3 years    
Maximum      
Significant Accounting Policies [Line Items]      
Finite lived intangible assets, useful life 25 years    
Stock option vesting period 5 years    
Maximum | Buildings And Improvements      
Significant Accounting Policies [Line Items]      
Property, Plant and Equipment, Useful Life 39 years    
Maximum | Furniture, fixtures, computers and machinery and equipment      
Significant Accounting Policies [Line Items]      
Property, Plant and Equipment, Useful Life 10 years