| Employee Benefit Plan (Details) - Employee Savings Plan - USD ($) $ in Millions | 12 Months Ended | |
|---|---|---|
| May 31, 2025 | May 31, 2024 | |
| Defined Contribution Plan | ||
| Qualified non-elective contribution, employer contribution, as a percent | 3.00% | |
| Qualified non-elective contribution expense | $ 30.3 | $ 59.9 | 
| X | ||||||||||
| 
- Definition Amount of cost for defined contribution plan. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Percentage of employees' gross pay for which the employer contributes a matching contribution to a defined contribution plan. No definition available. 
 | 
| X | ||||||||||
| 
- Details 
 |