v3.26.1
Stock-Based Compensation - Summary of Company's Performance Share Award Activity (Detail) - Performance Award Activity - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
May 31, 2026
May 31, 2025
May 31, 2024
Share-Based Compensation Arrangement by Share-Based Payment Award, Equity Instruments Other than Options, Nonvested, Number of Shares [Roll Forward]      
Outstanding, beginning of year 176 130 0
Awards converted from the Former Parent Plan 0 0 133
Granted 123 100 30
Vested (31) (54) (21)
Forfeited (5) 0 (12)
Outstanding, end of year 263 176 130
Weighted Average Grant Date Fair Value      
Outstanding, beginning of year $ 26.58 $ 20.72  
Awards converted from the Former Parent Plan 0 0 $ 22.2
Granted 32.03 29.5 30.55
Vested 14.36 17.96 17.36
Forfeited 14.36 0 17.97
Outstanding, end of year $ 30.81 $ 26.58 $ 20.72
Weighted Average Remaining Contractual Life (in years)      
Weighted average remaining contractual life of outstanding restricted common shares (in years) 1 year 3 months 7 days 1 year 3 months 1 year 3 months 18 days
Aggregate intrinsic value      
Aggregate intrinsic value of outstanding restricted common shares $ 11,107 $ 4,391 $ 4,291
Aggregate intrinsic value of restricted common shares vested during the year 974 1,730 696
Pre-tax stock-based compensation for granted awards $ 3,942 $ 2,967 $ 923