v3.25.2
Intangible Assets - Narrative (Details)
3 Months Ended 12 Months Ended
Feb. 29, 2024
USD ($)
May 31, 2025
USD ($)
reportingUnit
segment
May 31, 2024
USD ($)
May 31, 2023
USD ($)
Finite-Lived Intangible Assets [Line Items]        
Number of reporting units | reportingUnit   2    
Number of operating segments | segment   2    
Goodwill impairment $ 159,500,000 $ 0 $ 159,476,000 $ 14,549,000
Impairment charge $ 3,300,000 0    
Amortization expense   $ 10,318,000 $ 13,048,000 $ 18,790,000
Impairment, Intangible Asset, Finite-Lived, Statement of Income or Comprehensive Income [Extensible Enumeration] Total      
Minimum        
Finite-Lived Intangible Assets [Line Items]        
Estimated useful life of intangible assets other than goodwill (years)   2 years    
Maximum        
Finite-Lived Intangible Assets [Line Items]        
Estimated useful life of intangible assets other than goodwill (years)   18 years