Restructuring and Other Expense, Net - Schedule of Progression of Liabilities Associated with Restructuring Activities, Combined with Reconciliation to Restructuring and Other Expense, Net (Detail) $ in Thousands |
3 Months Ended | |||
|---|---|---|---|---|
|
Aug. 31, 2026
USD ($)
| ||||
| Restructuring Cost and Reserve [Line Items] | ||||
| Beginning Balance | $ 193 | |||
| Expense | $ 717 | |||
| Restructuring Charges, Statement of Income or Comprehensive Income [Extensible Enumeration] | Restructuring and other expense (income), net | |||
| Payments | $ (428) | |||
| Ending Balance | 482 | |||
| Early Retirement And Severance | ||||
| Restructuring Cost and Reserve [Line Items] | ||||
| Beginning Balance | 193 | |||
| Expense | 345 | |||
| Payments | (192) | |||
| Ending Balance | 346 | |||
| Other Restructuring Charges | ||||
| Restructuring Cost and Reserve [Line Items] | ||||
| Beginning Balance | 0 | [1] | ||
| Expense | 372 | [1] | ||
| Payments | (236) | [1] | ||
| Ending Balance | $ 136 | [1] | ||
| ||||
| 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/2009/role/commonPracticeRef
|
| 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 Indicates line item in statement of income or comprehensive income that includes restructuring charges. 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 | ||||||||||
- Details
|
| X | ||||||||||
- Details
|