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, 2026 |
May 31, 2025 |
May 31, 2024 |
|
| Schedule of Weighted Average Assumptions for Fair Values of Stock Options [Line Items] | |||
| Risk-free interest rate | 3.70% | 3.70% | 4.70% |
| Expected dividend yield | 0.00% | 0.00% | 0.00% |
| Expected stock volatility | 43.40% | 38.10% | 37.30% |
| Expected option life (in years) | 3 years 9 months 18 days | 3 years 4 months 24 days | 4 years 6 months |