v3.26.1
Intangible Assets - Narrative (Details)
12 Months Ended
May 31, 2026
USD ($)
segment
reporting_unit
May 31, 2025
USD ($)
May 31, 2024
USD ($)
Intangible Asset, Finite-Lived [Line Items]      
Number of reporting units | reporting_unit 2    
Number of operating segments | segment 2    
Goodwill impairment $ 0 $ 0 $ 159,476,000
Impairment charge 0 0  
Amortization expense $ 10,682,000 $ 10,318,000 $ 13,048,000
Minimum      
Intangible Asset, Finite-Lived [Line Items]      
Estimated useful life of intangible assets other than goodwill (years) 2 years    
Maximum      
Intangible Asset, Finite-Lived [Line Items]      
Estimated useful life of intangible assets other than goodwill (years) 18 years