XML 48 R41.htm IDEA: XBRL DOCUMENT v3.24.4
Restructuring - Summary of Restructuring Activity (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Nov. 30, 2024
Nov. 30, 2023
Nov. 30, 2024
Nov. 30, 2023
Restructuring Cost and Reserve [Line Items]        
Beginning balance     $ 0  
Expense $ 9,568 $ 1,856 9,938 $ 2,415
Cash Payments     (1,143)  
Asset impairments and other     (7,328)  
Ending balance 1,467   1,467  
Employee Separation Costs        
Restructuring Cost and Reserve [Line Items]        
Beginning balance     0  
Expense     1,983  
Cash Payments     (516)  
Asset impairments and other     0  
Ending balance 1,467   1,467  
Other Exit Costs        
Restructuring Cost and Reserve [Line Items]        
Beginning balance     0  
Expense     7,955  
Cash Payments     (627)  
Asset impairments and other     (7,328)  
Ending balance $ 0   $ 0