Fair Value Measurements - Assets Measured at Fair Value on Non-Recurring Basis (Parenthetical) (Detail) - USD ($) |
12 Months Ended | ||
|---|---|---|---|
May 31, 2026 |
May 31, 2025 |
May 31, 2024 |
|
| Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | |||
| Assets held for sale | $ 10,400,000 | ||
| Impairment related to finance lease assets along with certain other fixed assets | 0 | $ 1,400,000 | |
| Fair value written down | $ 76,800,000 | $ 1,300,000 | |
| Lowered net asset value | $ 500,000 | ||
| X | ||||||||||
- Definition Amount classified as assets attributable to disposal group held for sale or disposed of. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| 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/exampleRef
|
| X | ||||||||||
- Definition The aggregate amount of write-downs for impairments recognized during the period for long-lived assets held for abandonment, exchange or sale. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition Fair value written down. No definition available.
|
| X | ||||||||||
- Definition Lowered net asset value. No definition available.
|