v3.25.2
Income Taxes - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
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 26.30%    
Total unrecognized tax benefits $ 1,826 $ 3,467 $ 3,467
Unrecognized tax benefits if recognized would affect tax rate attributable to controlling interest 1,442    
Interest and penalties related to unrecognized tax benefits 564 881 $ 556
Liability for unrecognized tax benefit expected to be settled in the next 12 months 1,670    
Income tax receivable related to anticipated refund 15,374    
Valuation allowance for deferred tax assets 10,477 $ 7,083  
Federal Jurisdiction      
Income Taxes [Line Items]      
NOL carry forwards 1,636    
State and Local Jurisdiction      
Income Taxes [Line Items]      
NOL carry forwards $ 3,926