v3.26.1
Earnings Per Share - Additional Information (Detail) - shares
12 Months Ended
May 31, 2026
May 31, 2025
May 31, 2024
Earnings Per Share [Abstract]      
Shares excluded from computation of diluted earnings per common share 5,823 99,785 46,778