v3.26.3
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]
[1] During the current year quarter, other restructuring charges consisted primarily of acquisition-related costs such as advisory, legal, and other professional fees.