Restructuring - Summary of Restructuring Activity (Details) - USD ($) $ in Thousands |
12 Months Ended | |||
---|---|---|---|---|
May 31, 2025 |
May 31, 2024 |
|||
Restructuring Cost and Reserve [Line Items] | ||||
Beginning balance | $ 0 | |||
Expense | 11,096 | $ 3,513 | ||
Cash Payments | (2,766) | |||
Asset impairments and other | [1] | (7,574) | ||
Ending balance | 756 | 0 | ||
Employee Separation Costs | ||||
Restructuring Cost and Reserve [Line Items] | ||||
Beginning balance | 0 | |||
Expense | 3,041 | |||
Cash Payments | (2,285) | |||
Asset impairments and other | [1] | 0 | ||
Ending balance | 756 | 0 | ||
Other Exit Costs | ||||
Restructuring Cost and Reserve [Line Items] | ||||
Beginning balance | 0 | |||
Expense | 8,055 | |||
Cash Payments | (481) | |||
Asset impairments and other | [1] | (7,574) | ||
Ending balance | $ 0 | $ 0 | ||
|
X | ||||||||||
- Definition Amount of cash payments made as the result of exit or disposal activities. Excludes payments associated with a discontinued operation or an asset retirement obligation. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- Definition Amount of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation. 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/disclosureRef
|
X | ||||||||||
- Definition Carrying amount (including both current and noncurrent portions of the accrual) as of the balance sheet date pertaining to a specified type of cost associated with exit from or disposal of business activities or restructuring pursuant to a duly authorized plan. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- Definition Amount of decrease in the reserve for full or partial settlement through consideration other than cash. Reference 1: http://www.xbrl.org/2003/role/disclosureRef
|
X | ||||||||||
- Details
|
X | ||||||||||
- Details
|