v3.26.1
Equity Compensation Plans and Other Incentive Compensation - Additional Information (Detail) - USD ($)
$ / shares in Units, $ in Millions
12 Months Ended
May 31, 2026
May 31, 2025
May 31, 2024
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Number of shares available for grant 11,500,000 13,800,000 16,800,000
Options Exercisable, Weighted Average Exercise Price $ 16.66 $ 19.53 $ 26.11
Compensation expense related to share based awards $ 13.4 $ 17.3 $ 13.8
Remaining compensation cost to be expensed in future periods for non-vested options $ 9.0    
Weighted average expense recognition period 2 years 4 months 24 days    
Number of shares purchased by employees 300,000 200,000 100,000
Defined contribution 401(K) benefit expense $ 4.2 $ 3.7 $ 3.4
Accrued Bonus $ 13.5 1.8  
First 3% employees deferred amount      
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Defined contribution plan employer matching contribution 100.00%    
Next 2% employees deferred amount      
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Defined contribution plan employer matching contribution 50.00%    
Restricted Stock Units (RSUs)      
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Weighted average expense recognition period 1 year 3 months 18 days    
Restricted stock units vested- fair value $ 8.1 $ 5.2 $ 3.8
Weighted average grant date fair value $ 6 $ 15.49 $ 15.55
Share-based Payment Arrangement, Nonvested Award, Excluding Option, Cost Not yet Recognized, Amount $ 8.2    
Performance Stock Units (PSUs)      
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Weighted average expense recognition period 2 years    
Weighted average grant date fair value $ 6.28    
Share-based Payment Arrangement, Nonvested Award, Excluding Option, Cost Not yet Recognized, Amount $ 3.6    
2023 Omnibus Incentive Plan | Performance Stock Units (PSUs)      
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Vesting period 3 years    
Employee Stock Purchase Plan | 2011 Employee Stock Purchase Plan      
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Number of shares available for grant 300,000    
Number of shares authorized for grant 1,000,000    
Annual maximum limit percentage of compensation to purchase shares 5.00%    
Employee stock purchase plan stock price percentage 10.00%    
Minimum      
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Vesting period 3 years    
Stock option contractual terms 5 years    
Minimum | Performance Stock Units (PSUs)      
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Percentage of shareholder return over performance period 0.00%    
Minimum | 2018 Omnibus Incentive Plan | Restricted Stock Units (RSUs)      
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Vesting period 3 years    
Average      
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Stock option contractual terms 7 years    
Maximum      
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Vesting period 5 years    
Stock option contractual terms 10 years    
Maximum | Performance Stock Units (PSUs)      
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Percentage of shareholder return over performance period 240.00%    
Maximum | 2018 Omnibus Incentive Plan | Restricted Stock Units (RSUs)      
Share-Based Compensation Arrangement by Share-Based Payment Award [Line Items]      
Vesting period 5 years