XML 50 R35.htm IDEA: XBRL DOCUMENT v3.24.2
Summary of Significant Accounting Policies - Additional Information (Detail)
1 Months Ended 3 Months Ended 12 Months Ended
Dec. 29, 2017
May 31, 2024
USD ($)
May 31, 2024
USD ($)
Segment
$ / shares
shares
May 31, 2023
USD ($)
$ / shares
shares
May 31, 2022
USD ($)
$ / shares
Jun. 01, 2019
Significant Accounting Policies [Line Items]            
Stock split ratio 1.33          
Number of operating segments | Segment     2      
Allowance for credit losses related to marketable securities   $ 0 $ 0 $ 0    
Accounts receivable, net   173,005,000 $ 173,005,000 153,253,000 $ 99,674,000  
Products and services, payment terms     30 to 60 days      
Depreciation expense     $ 21,771,000 17,292,000 14,094,000  
Cost of goods and services sold     $ 460,322,000 $ 416,492,000 $ 284,146,000  
Weighted-average fair value per share of stock options granted | $ / shares     $ 5.98 $ 4.61 $ 8.49  
Cash held at foreign subsidiaries   $ 68,276,000 $ 68,276,000 $ 36,288,000    
Shares excluded from calculation of diluted net (loss) income per share | shares     332,025 147,671    
Operating Lease, Liability, Statement of Financial Position [Extensible List]   Operating lease liability Operating lease liability     Operating lease liability
Operating lease payments     $ 4,714,000 $ 2,139,000 $ 1,407,000  
Right of use assets in exchange of lease liability     5,562,000 11,192,000    
Goodwill, Impairment Loss     $ 556,000 $ 2,109,000    
Weighted-Average Exercise Price, Exercised | $ / shares     $ 13.61 $ 14.78 $ 22.79  
Additions to deferred revenue     $ 13,267,000 $ 11,046,000    
Deferred revenue recognized     $ 13,251,000 11,890,000    
Number of days determined on fair value of assets and liabilities from the acquisition date     12 months      
Prepaid expenses and other current assets   $ 56,025,000 $ 56,025,000 53,297,000    
Other non-current assets   20,426,000 20,426,000 15,220,000    
Property and equipment   417,392,000 417,392,000 318,867,000    
General and administrative expense     199,889,000 201,179,000 $ 82,742,000  
Accumulated other comprehensive loss were foreign currency translation adjustment losses   31,885,000 31,885,000 30,285,000    
Foreign currency losses     5,184,000 5,322,000 40,000  
Shipping and Handling            
Significant Accounting Policies [Line Items]            
Cost of goods and services sold     25,290,000 18,513,000 17,482,000  
Advertising Cost            
Significant Accounting Policies [Line Items]            
Cost of goods and services sold     $ 3,301,000 $ 2,548,000 $ 2,018,000  
Capitalized Cloud Computing Software            
Significant Accounting Policies [Line Items]            
Reclassification of capitalized cost   13,684,000        
Capitalized Cloud Computing Software | Prepaid Expenses and Other Current Assets            
Significant Accounting Policies [Line Items]            
Reclassification of capitalized cost   13,140,000        
Capitalized Cloud Computing Software | General and Administrative Expense            
Significant Accounting Policies [Line Items]            
Reclassification of capitalized cost   $ 544,000        
Customer One            
Significant Accounting Policies [Line Items]            
Account receivable percentage from major customer     10.00% 10.00%    
Minimum            
Significant Accounting Policies [Line Items]            
Marketable securities, maturity period     91 days      
Finite lived intangible assets, useful life   2 years 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 7 years      
Minimum | Furniture, fixtures, computers and machinery and equipment            
Significant Accounting Policies [Line Items]            
Property, Plant and Equipment, Useful Life   3 years 3 years      
Maximum            
Significant Accounting Policies [Line Items]            
Marketable securities, maturity period     2 years      
Finite lived intangible assets, useful life   25 years 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 39 years      
Maximum | Furniture, fixtures, computers and machinery and equipment            
Significant Accounting Policies [Line Items]            
Property, Plant and Equipment, Useful Life   10 years 10 years