v3.26.3
Revenue Recognition - Schedule of Disaggregated Revenue (Details) - USD ($)
$ in Thousands
3 Months Ended
Aug. 31, 2026
Aug. 31, 2025
Disaggregation of Revenue [Line Items]    
Revenue $ 3,013,981 $ 2,718,122
Uniform Rental and Facility Services    
Disaggregation of Revenue [Line Items]    
Revenue 2,294,736 2,091,066
First Aid and Safety Services    
Disaggregation of Revenue [Line Items]    
Revenue 388,517 334,657
Fire Protection Services    
Disaggregation of Revenue [Line Items]    
Revenue 252,289 221,900
Uniform Direct Sales    
Disaggregation of Revenue [Line Items]    
Revenue $ 78,439 $ 70,499
Revenue from Contract with Customer Benchmark | Product Concentration Risk    
Disaggregation of Revenue [Line Items]    
Percentage of revenue (as percent) 100.00% 100.00%
Revenue from Contract with Customer Benchmark | Product Concentration Risk | Uniform Rental and Facility Services    
Disaggregation of Revenue [Line Items]    
Percentage of revenue (as percent) 76.10% 76.90%
Revenue from Contract with Customer Benchmark | Product Concentration Risk | First Aid and Safety Services    
Disaggregation of Revenue [Line Items]    
Percentage of revenue (as percent) 12.90% 12.30%
Revenue from Contract with Customer Benchmark | Product Concentration Risk | Fire Protection Services    
Disaggregation of Revenue [Line Items]    
Percentage of revenue (as percent) 8.40% 8.20%
Revenue from Contract with Customer Benchmark | Product Concentration Risk | Uniform Direct Sales    
Disaggregation of Revenue [Line Items]    
Percentage of revenue (as percent) 2.60% 2.60%