v3.26.1
Stock-Based Compensation - Schedule of Service-Based Restricted Common Shares 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]      
Stock-based compensation $ 13,734 $ 16,186 $ 16,688
Service-Based Restricted Common Shares      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Granted 124,825 307,745 217,915
Weighted average grant date fair value, per common share $ 58.16 $ 45.17 $ 64.45
Stock-based compensation $ 7,260 $ 13,901 $ 14,046