v3.26.1
Income Taxes - Additional Information (Detail) - USD ($)
12 Months Ended
May 31, 2026
May 31, 2025
May 31, 2024
May 31, 2023
Income Taxes [Line Items]        
Effective tax rates upon inclusion of net earnings attributable to noncontrolling interests   19.40% 21.30%  
Gross unrecognized tax benefits $ 2,600,000 $ 0 $ 200,000 $ 1,200,000
Effective tax rate 20,000,000 28,800,000 $ 46,100,000  
Recognized income tax expense benefit that would affect effective tax rate 2,100,000      
Interest expense 400,000      
Penalties in income tax expense 400,000      
Accrued interest 400,000      
Penalties related to uncertain tax positions 400,000      
Valuation allowances 11,000,000 $ 0    
Valuation allowance related to acquired entities 3,300,000      
Valuation allowance related to current year changes in assessment of realizability 7,700,000      
Deferred tax liability related to investments in foreign subsidiaries 0      
Federal Jurisdiction        
Income Taxes [Line Items]        
Net operating loss carry forwards 100,000      
Non - United States        
Income Taxes [Line Items]        
Net operating loss carry forwards $ 21,500,000