v3.25.2
Equity Compensation Plans and Other Incentive Compensation - Summary of Fair Value of Stock Options Granted Estimated Weighted-Average Assumptions (Details)
12 Months Ended
May 31, 2025
May 31, 2024
May 31, 2023
Schedule of Weighted Average Assumptions for Fair Values of Stock Options [Line Items]      
Risk-free interest rate 3.70% 4.70% 3.30%
Expected dividend yield 0.00% 0.00% 0.00%
Expected stock volatility 38.10% 37.30% 34.00%
Expected option life (in years) 3 years 4 months 24 days 4 years 6 months 4 years 6 months