XML 40 R28.htm IDEA: XBRL DOCUMENT v3.23.2
Summary of Significant Accounting Policies - Additional Information (Detail)
$ / shares in Units, $ in Thousands
1 Months Ended 12 Months Ended
Dec. 29, 2017
May 31, 2023
USD ($)
Segment
$ / shares
shares
May 31, 2022
USD ($)
$ / shares
shares
May 31, 2021
USD ($)
$ / shares
shares
Jun. 30, 2022
USD ($)
Jun. 01, 2019
Significant Accounting Policies [Line Items]            
Stock split ratio 1.33          
Number of operating segments | Segment   2        
Products and services, payment terms   30 to 60 days        
Valuation allowance for inventory   $ 6,270 $ 4,050      
Depreciation expense   17,292 14,094 $ 13,288    
Cost of goods and services sold   $ 416,492 $ 284,146 $ 253,403    
Weighted-average fair value per share of stock options granted | $ / shares   $ 4.61 $ 8.49 $ 7.71    
Cash held at foreign subsidiaries   $ 36,288 $ 17,057      
Shares excluded from computations of diluted net income per share | shares   148,000 383,000 0    
Operating Lease, Liability, Statement of Financial Position [Extensible List]   Operating lease liability       Operating lease liability
Operating lease payments   $ 2,139 $ 1,407 $ 1,397    
Right of use assets in exchange of lease liability   11,192        
Impairments of long-lived assets   $ 0 $ 0 $ 0    
Weighted-Average Exercise Price, Exercised | $ / shares   $ 14.78 $ 22.79 $ 24.38    
Contract assets         $ 0  
Contract liabilities         $ 0  
Additions to deferred revenue   $ 11,046 $ 10,229      
Deferred revenue recognized   11,890 8,173      
Shipping and Handling            
Significant Accounting Policies [Line Items]            
Cost of goods and services sold   18,513 17,482 $ 15,180    
Advertising Cost            
Significant Accounting Policies [Line Items]            
Cost of goods and services sold   $ 2,548 $ 2,018 $ 1,687    
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 | 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 | 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