Impairment of Long-Lived Assets - Additional Information (Detail) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Feb. 28, 2026 |
Feb. 28, 2025 |
Feb. 28, 2026 |
Feb. 28, 2025 |
|
| Impaired Long-Lived Assets Held and Used [Line Items] | ||||
| Earnings (loss) before income taxes | $ 60,114 | $ 52,579 | $ 141,575 | $ 120,478 |
| 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. No definition available.
|
| X | ||||||||||
- Definition Amount of income (loss) from continuing operations, including income (loss) from equity method investments, before deduction of income tax expense (benefit), and income (loss) attributable to noncontrolling interest. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|