v3.26.1
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
9 Months Ended
Feb. 28, 2026
USD ($)
Restructuring Cost and Reserve [Line Items]  
Beginning Balance $ 685
Expense 6,306
Payments (6,675)
Ending Balance 316
Early Retirement And Severance  
Restructuring Cost and Reserve [Line Items]  
Beginning Balance 585
Expense 923
Payments (1,192)
Ending Balance 316
Other Restructuring Charges  
Restructuring Cost and Reserve [Line Items]  
Beginning Balance 100 [1]
Expense 5,383 [1]
Payments (5,483) [1]
Ending Balance $ 0 [1]
[1] During the current year period, other restructuring charges consisted primarily of acquisition-related costs such as advisory, legal, and other professional fees.