(Gain) on Sales of Assets and Business, Net - Additional Information (Detail) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Jan. 20, 2023 |
Feb. 28, 2023 |
Feb. 29, 2024 |
Feb. 28, 2023 |
|
| Sale Leaseback Transaction [Line Items] | ||||
| Net gain sales of assets | $ 25,700 | $ (2,576) | $ 25,881 | |
| Divestiture of businesses | $ 49,200 | |||
| Gain on divestiture | $ 24,700 | |||
| X | ||||||||||
- Definition Amount of gain (loss) on sale or disposal of assets, including but not limited to property plant and equipment, intangible assets and equity in securities of subsidiaries or equity method investee. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition Amount of gain (loss) from sale and disposal of integrated set of activities and assets capable of being conducted and managed for purpose of providing return in form of dividend, lower cost, or other economic benefit to investor, owner, member and participant. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef
|
| X | ||||||||||
- Definition This element represents the cash inflow during the period from the sale of a component of the entity. 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://fasb.org/us-gaap/role/ref/otherTransitionRef
|