v3.25.2
Stock-Based Compensation - Summary of Activity for Market-Based Restricted Common Shares (Detail) - Market-Based Restricted Common Shares - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
May 31, 2025
May 31, 2024
May 31, 2023
Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward]      
Outstanding, beginning of year 260,384 330,000 320,000
Separation related adjustment   34,424  
Granted   165,960 10,000
Vested (78,687) (270,000)  
Forfeited (40,000)    
Outstanding, end of year 141,697 260,384 330,000
Weighted Average Grant Date Fair Value      
Outstanding, beginning of year $ 31.4 $ 22.03 $ 21.61
Granted   42.82 35.49
Vested 9.09 22.96  
Forfeited 42.82    
Outstanding, end of year $ 40.57 $ 31.4 $ 22.03
Weighted Average Remaining Contractual Life (in years)      
Weighted average remaining contractual life of outstanding market-based common shares (in years) 1 year 7 months 28 days 2 years 1 month 9 days 5 months 26 days
Aggregate intrinsic value      
Aggregate intrinsic value of outstanding market-based common shares $ 8,347 $ 14,850 $ 18,523
Aggregate intrinsic value of market-based common shares vested during the year $ 3,363 $ 18,152