XML 46 R39.htm IDEA: XBRL DOCUMENT v3.25.2
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, 2025
USD ($)
Restructuring Cost and Reserve [Line Items]  
Beginning Balance $ 685
Expense 2,476
Payments (2,166)
Ending Balance 995
Early Retirement And Severance  
Restructuring Cost and Reserve [Line Items]  
Beginning Balance 585
Expense 775
Payments (365)
Ending Balance 995
Other Restructuring Charges  
Restructuring Cost and Reserve [Line Items]  
Beginning Balance 100
Expense 1,701
Payments $ (1,801)