XML 59 R44.htm IDEA: XBRL DOCUMENT v3.23.2
Revenue Recognition - Narrative (Details) - USD ($)
$ in Millions
12 Months Ended
May 31, 2023
May 31, 2022
May 31, 2021
Disaggregation of Revenue [Line Items]      
Deferred commissions current $ 92.5 $ 83.7  
Deferred commissions noncurrent 251.6 232.2  
Amortization of deferred commissions $ 94.8 $ 87.4 $ 83.1
Revenue from Contract with Customer Benchmark | Product concentration risk      
Disaggregation of Revenue [Line Items]      
Percentage of revenue 100.00% 100.00% 100.00%
Uniform Rental and Facility Services, First Aid and Safety Services and Fire Protection Services | Revenue from Contract with Customer Benchmark | Product concentration risk | Route servicing fees      
Disaggregation of Revenue [Line Items]      
Percentage of revenue 95.00% 95.00%  
Uniform Direct Sales | Revenue from Contract with Customer Benchmark | Product concentration risk      
Disaggregation of Revenue [Line Items]      
Percentage of revenue 3.90% 3.40% 2.70%
Uniform Direct Sales | Revenue from Contract with Customer Benchmark | Product concentration risk | Other      
Disaggregation of Revenue [Line Items]      
Percentage of revenue 5.00%