v3.26.1
Earnings Per Share - Additional Information (Detail) - shares
3 Months Ended 9 Months Ended
Feb. 28, 2026
Feb. 28, 2025
Feb. 28, 2026
Feb. 28, 2025
Earnings Per Share [Abstract]        
Shares excluded from computation of diluted earnings per common share 43,228 94,521 11,729 104,608