XML 41 R28.htm IDEA: XBRL DOCUMENT v3.22.2
Summary of Significant Accounting Policies - Additional Information (Detail)
1 Months Ended 12 Months Ended
Dec. 29, 2017
May 31, 2022
USD ($)
$ / shares
shares
May 31, 2021
USD ($)
$ / shares
shares
May 31, 2020
USD ($)
$ / shares
shares
Jun. 30, 2022
USD ($)
Jun. 01, 2019
Significant Accounting Policies [Line Items]            
Stock split ratio 1.33          
Finite lived intangible assets, useful life   8 years 10 years      
Products and services, payment terms   30 to 60 days        
Valuation allowance for inventory   $ 4,050,000 $ 3,100,000      
Depreciation expense   14,094,000 13,288,000 $ 11,907,000    
Cost of goods and services sold   $ 284,146,000 $ 253,403,000 $ 221,891,000    
Weighted-average fair value per share of stock options granted | $ / shares   $ 8.49 $ 7.71 $ 7.78    
Cash held at foreign subsidiaries   $ 17,057,000 $ 15,246,000      
Shares excluded from computations of diluted net income per share | shares   383,000 0 56,000    
Operating Lease, Liability, Statement of Financial Position [Extensible List]           Operating lease liability
Operating lease payments   $ 1,407,000 $ 1,397,000 $ 1,178,000    
Right of use assets in exchange of lease liability   0        
Goodwill, Impairment Loss   0 0 0    
Impairments of long-lived assets   $ 0 $ 0 $ 0    
Weighted-Average Exercise Price, Exercised | $ / shares   $ 22.79 $ 24.38 $ 20.12    
Contract assets         $ 0  
Contract liabilities         $ 0  
Number of days determined on fair value of assets and liabilities from the acquisition date   12 months        
Restricted Stock Units (RSUs) [Member]            
Significant Accounting Policies [Line Items]            
Weighted-Average Exercise Price, Exercised | $ / shares   $ 37.28 $ 34.21      
Shipping and Handling            
Significant Accounting Policies [Line Items]            
Cost of goods and services sold   $ 17,482,000 $ 15,180,000 $ 13,514,000    
Advertising Cost            
Significant Accounting Policies [Line Items]            
Cost of goods and services sold   $ 2,018,000 $ 1,687,000 $ 1,454,000    
Customer One            
Significant Accounting Policies [Line Items]            
Account receivable percentage from major customer   10.00%        
Minimum            
Significant Accounting Policies [Line Items]            
Marketable securities, maturity period   91 days        
Finite lived intangible assets, useful life   2 years        
Stock option vesting period   3 years        
Minimum | Restricted Stock Units (RSUs) [Member]            
Significant Accounting Policies [Line Items]            
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, machinery and equipment            
Significant Accounting Policies [Line Items]            
Property, Plant and Equipment, Useful Life   3 years        
Maximum            
Significant Accounting Policies [Line Items]            
Marketable securities, maturity period   2 years        
Finite lived intangible assets, useful life   25 years        
Stock option vesting period   5 years        
Maximum | Restricted Stock Units (RSUs) [Member]            
Significant Accounting Policies [Line Items]            
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, machinery and equipment            
Significant Accounting Policies [Line Items]            
Property, Plant and Equipment, Useful Life   10 years