v3.26.1
Basis of Presentation, Business Description and Summary of Significant Accounting Policies (Details)
$ in Thousands
12 Months Ended
May 31, 2026
USD ($)
asset_group
segment
reporting_unit
May 31, 2025
USD ($)
May 31, 2024
USD ($)
Business Combination [Line Items]      
Maturity period less than three months    
Period of recognition for costs not yet recognized (years) 2 years    
Number of reporting units | reporting_unit 2    
Number of operating segments | segment 2    
Number of asset groups | asset_group 2    
Goodwill impairment | $ $ 0 $ 0 $ 159,476
Employee Stock Option      
Business Combination [Line Items]      
Period of recognition for costs not yet recognized (years) 4 years    
Restricted Stock      
Business Combination [Line Items]      
Period of recognition for costs not yet recognized (years) 3 years    
Minimum      
Business Combination [Line Items]      
Accounts receivables period due 30 days    
Estimated useful life of intangible assets other than goodwill (years) 2 years    
Maximum      
Business Combination [Line Items]      
Accounts receivables period due 90 days    
Estimated useful life of intangible assets other than goodwill (years) 18 years    
Building and building improvements | Minimum      
Business Combination [Line Items]      
Useful life (years) 3 years    
Building and building improvements | Maximum      
Business Combination [Line Items]      
Useful life (years) 39 years    
Computer software and equipment | Minimum      
Business Combination [Line Items]      
Useful life (years) 1 year    
Computer software and equipment | Maximum      
Business Combination [Line Items]      
Useful life (years) 10 years    
Machinery and equipment | Minimum      
Business Combination [Line Items]      
Useful life (years) 3 years    
Machinery and equipment | Maximum      
Business Combination [Line Items]      
Useful life (years) 11 years    
Placement and evaluation units      
Business Combination [Line Items]      
Useful life (years) 5 years