v3.26.3
Earnings Per Share - Additional Information (Detail) - shares
3 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Earnings Per Share [Abstract]    
Shares excluded from computation of diluted earnings per common share 3,734 13,610