v3.26.1
Stock-Based Compensation - Schedule of Non-qualified Stock Options Granted (Detail) - 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 [Line Items]      
Granted 0 54,200 58,000
Weighted average exercise price, per common share   $ 44.38 $ 68.68
Weighted average grant date fair value, per common share   $ 16.38 $ 25.61
Stock-based compensation $ 13,734 $ 16,186 $ 16,688
Non-Qualified Stock Options      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation   $ 888 $ 1,485