XML 47 R40.htm IDEA: XBRL DOCUMENT v3.25.1
Restructuring - Summary of Restructuring Activity (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Feb. 28, 2025
Feb. 29, 2024
Feb. 28, 2025
Feb. 29, 2024
Restructuring Cost and Reserve [Line Items]        
Beginning balance     $ 0  
Expense $ 168 $ 938 10,106 $ 3,353
Cash Payments     (2,217)  
Asset impairments and other     (7,196)  
Ending balance 693   693  
Employee Separation Costs        
Restructuring Cost and Reserve [Line Items]        
Beginning balance     0  
Expense     2,420  
Cash Payments     (1,727)  
Asset impairments and other     0  
Ending balance 693   693  
Other Exit Costs        
Restructuring Cost and Reserve [Line Items]        
Beginning balance     0  
Expense     7,686  
Cash Payments     (490)  
Asset impairments and other     (7,196)  
Ending balance $ 0   $ 0