Discontinued Operations - Summary of Significant Non Cash Operating Items and Capital Expenditures of Discontinued Operations Included in Consolidated Statements of Cash Flows (Detail) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
Feb. 28, 2026 |
Feb. 28, 2025 |
Feb. 28, 2026 |
Feb. 28, 2025 |
|
| Significant non-cash operating items: | ||||
| Equity in income of unconsolidated affiliate, net of distributions | $ (4,064) | $ (3,089) | $ (8,991) | $ (10,810) |
| Stock-based compensation | 3,752 | 2,924 | 10,504 | 12,787 |
| Significant investing activities: | ||||
| Investment in property, plant and equipment | (13,794) | $ (12,704) | (39,421) | (37,494) |
| Acquisitions, net of cash acquired | (212,191) | (304,426) | $ (88,156) | |
| Significant financing activities: | ||||
| Net proceeds from short-term borrowings | $ 4,792 | $ 4,792 | ||
| X | ||||||||||
- Definition Amount of expense for award under share-based payment arrangement. Excludes amount capitalized. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
| X | ||||||||||
- Definition This element represents the undistributed income (or loss) of equity method investments, net of dividends or other distributions received from unconsolidated subsidiaries, certain corporate joint ventures, and certain noncontrolled corporations; such investments are accounted for under the equity method of accounting. This element excludes distributions that constitute a return of investment, which are classified as investing activities. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The cash outflow associated with the acquisition of a business, net of the cash acquired from the purchase. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef
|
| X | ||||||||||
- Definition The net cash inflow or outflow for borrowing having initial term of repayment within one year or the normal operating cycle, if longer. No definition available.
|
| X | ||||||||||
- Definition Amount of expenditure for addition to long-lived assets included in determination of segment assets by chief operating decision maker (CODM) or otherwise regularly provided to CODM. Excludes expenditure for addition to financial instrument, long-term customer relationship of financial institution, mortgage and other servicing rights, deferred policy acquisition cost, and deferred tax assets. Reference 1: http://www.xbrl.org/2003/role/exampleRef
|
| X | ||||||||||
- Definition Significant financing activities. No definition available.
|
| X | ||||||||||
- Definition Significant investing activities. No definition available.
|
| X | ||||||||||
- Definition Significant non-cash operating items. No definition available.
|