v3.25.2
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, 2025
May 31, 2024
May 31, 2023
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation $ 16,186 $ 16,688 $ 19,178
Service-Based Restricted Common Shares      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Granted 307,745 217,915 358,500
Weighted average grant date fair value, per common share $ 45.17 $ 64.45 $ 49.89
Stock-based compensation $ 13,901 $ 14,046 $ 17,884