XML 51 R42.htm IDEA: XBRL DOCUMENT v3.22.4
Equity Compensation Plans - Summary of Fair Value of Stock Options Granted Estimated Weighted-Average Assumptions (Detail)
12 Months Ended
May 31, 2023
May 31, 2022
Schedule of Weighted Average Assumptions for Fair Values of Stock Options [Line Items]    
Risk-free interest rate 3.30% 0.40%
Expected dividend yield 0.00% 0.00%
Expected stock price volatility 34.00% 32.80%
Expected option life 4 years 7 months 9 days 3 years 1 month 13 days