v3.25.2
Equity - Additional Information (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2025
May 31, 2024
Mar. 24, 2021
Mar. 20, 2019
Equity [Abstract]        
Common Stock shares authorized for repurchase     5,618,464 6,600,000
Common Stock remaining shares authorized for repurchase 5,365,000   10,000,000  
Repurchase of common shares $ 30,883      
Repurchases and retirement of common shares, including excise tax (in shares) 700,000 0    
Repurchases and retirement of common shares $ 31,017      
Deferred compensation obligation credited to common share option $ 166 $ 417