XML 80 R60.htm IDEA: XBRL DOCUMENT v3.24.2
Restructuring - Summary of Activity in Restructuring Reserves (Detail) - USD ($)
$ in Thousands
12 Months Ended
May 31, 2024
May 31, 2023
May 31, 2022
Restructuring Cost and Reserve [Line Items]      
Additions charged to expense $ 30,008 $ 15,465 $ 6,276
MAP 2025      
Restructuring Cost and Reserve [Line Items]      
Restructuring Reserve, Beginning Balance 2,717 0  
Additions charged to expense 30,008 11,660  
Cash payments charged against reserve (10,804) (5,607)  
Non-cash charges and other adjustments (4,552) (3,336)  
Restructuring Reserve, Ending Balance 17,369 2,717 0
MAP 2025 | Severance and benefit costs (credits)      
Restructuring Cost and Reserve [Line Items]      
Restructuring Reserve, Beginning Balance 2,717 0  
Additions charged to expense 23,982 8,502  
Cash payments charged against reserve (9,381) (5,486)  
Non-cash charges and other adjustments 33 (299)  
Restructuring Reserve, Ending Balance 17,351 2,717 0
MAP 2025 | Facility Closure and Other Related Costs      
Restructuring Cost and Reserve [Line Items]      
Restructuring Reserve, Beginning Balance 0 0  
Additions charged to expense 1,471 621  
Cash payments charged against reserve (1,423) (121)  
Non-cash charges and other adjustments (30) (500)  
Restructuring Reserve, Ending Balance 18 0 0
MAP 2025 | Other Restructuring Costs      
Restructuring Cost and Reserve [Line Items]      
Restructuring Reserve, Beginning Balance 0 0  
Additions charged to expense 4,555 2,537  
Cash payments charged against reserve 0 0  
Non-cash charges and other adjustments (4,555) (2,537)  
Restructuring Reserve, Ending Balance $ 0 $ 0 $ 0