v3.26.1
Defined Contribution Benefit Plan - Additional Information (Detail) - USD ($)
$ in Millions
12 Months Ended
May 31, 2026
May 31, 2025
May 31, 2024
Defined Benefit Plan Disclosure [Line Items]      
Defined contribution 401(K) benefit expense $ 4.2 $ 3.7 $ 3.4
First 3% employees deferred amount      
Defined Benefit Plan Disclosure [Line Items]      
Defined contribution plan employer matching contribution 100.00%    
Next 2% employees deferred amount      
Defined Benefit Plan Disclosure [Line Items]      
Defined contribution plan employer matching contribution 50.00%