v3.26.3
Stock-Based Compensation - Additional Information (Detail) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended
Aug. 31, 2026
Aug. 31, 2026
Aug. 31, 2025
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Stock-based compensation expense [1]   $ 3,996 $ 3,427
Service-Based Restricted Common Shares      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Pre-tax stock-based compensation, period of recognition   3 years  
Stock-based compensation expense   $ 5,743  
Restricted common shares, granted   102,705  
Restricted common shares, fair value per share   $ 55.91  
Performance Shares      
Share-based Compensation Arrangement by Share-based Payment Award [Line Items]      
Restricted common shares, granted   198,050  
Aggregate grant date fair value   $ 10,752  
Restricted common shares, fair value per share $ 54.29    
[1] See “Use of Non-GAAP Financial Measures and Definitions” for additional information.