XML 72 R57.htm IDEA: XBRL DOCUMENT v3.23.2
Summary of Activity in Restructuring Reserves (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2023
May 31, 2022
May 31, 2021
Restructuring Cost And Reserve [Line Items]      
Additions charged to expense $ 15,465 $ 6,276 $ 18,106
MAP to Growth      
Restructuring Cost And Reserve [Line Items]      
Beginning balance 0    
Additions charged to expense 11,660    
Cash payments charged against reserve (5,607)    
Non-cash charges and other adjustments (3,336)    
Ending balance 2,717 0  
MAP to Growth | Severance and benefit costs (credits)      
Restructuring Cost And Reserve [Line Items]      
Beginning balance 0    
Additions charged to expense 8,502    
Cash payments charged against reserve (5,486)    
Non-cash charges and other adjustments (299)    
Ending balance 2,717 0  
MAP to Growth | Facility Closure and Other Related Costs      
Restructuring Cost And Reserve [Line Items]      
Beginning balance 0    
Additions charged to expense 621    
Cash payments charged against reserve (121)    
Non-cash charges and other adjustments (500)    
Ending balance (0) 0  
MAP to Growth | Other Asset Write-offs      
Restructuring Cost And Reserve [Line Items]      
Beginning balance 0    
Additions charged to expense 2,537    
Cash payments charged against reserve 0    
Non-cash charges and other adjustments (2,537)    
Ending balance $ 0 $ 0