XML 85 R70.htm IDEA: XBRL DOCUMENT v3.22.2
Acquisitions - Narrative (Details)
12 Months Ended
Dec. 10, 2021
USD ($)
May 31, 2022
USD ($)
reportingUnit
May 31, 2021
USD ($)
reportingUnit
May 31, 2020
USD ($)
Business Acquisition [Line Items]        
Cash consideration transferred, net of cash acquired   $ 164,228,000 $ 10,038,000 $ 53,720,000
Gain on equity method investment transaction   $ 30,151,000 $ 0 $ 0
Amortization period 9 years      
Uniform rental and facility services        
Business Acquisition [Line Items]        
Number of businesses acquired | reportingUnit   3 2  
First Aid and Safety Services        
Business Acquisition [Line Items]        
Number of businesses acquired | reportingUnit   10 3  
All Other        
Business Acquisition [Line Items]        
Number of businesses acquired | reportingUnit   7 5  
Equity Method Investment        
Business Acquisition [Line Items]        
Cash consideration transferred, net of cash acquired $ 48,000,000      
Cash acquired 1,700,000      
Equity interest in acquiree, fair value 43,500,000      
Gain on equity method investment transaction 30,200,000      
Goodwill deductible for tax purposes $ 0