v3.26.1
Other Non-Current Assets - Investments in Unconsolidated Affiliates (Details) - USD ($)
$ in Thousands
1 Months Ended 3 Months Ended 12 Months Ended
Dec. 31, 2023
Mar. 31, 2024
Dec. 31, 2023
Jun. 28, 2026
Jun. 29, 2025
Jun. 30, 2024
Oct. 31, 2009
Sep. 30, 2000
Schedule Of Equity Method Investments [Line Items]                
Restructuring costs, net       $ 1,853 $ 8,924 $ 5,101    
Payments for restructuring       1,412 5,527 $ 4,456    
Equity method investments       925 1,151      
UNF [Member]                
Schedule Of Equity Method Investments [Line Items]                
Equity method investment, ownership percentage               50.00%
Restructuring costs, net $ 2,750              
Payments for restructuring   $ 1,550 $ 1,200          
UNF America [Member]                
Schedule Of Equity Method Investments [Line Items]                
Equity method investment, ownership percentage             50.00%  
Purchase commitment, remaining minimum amount committed       1,964        
Accounts payable, related parties       2,010 1,368      
Equity method investments       $ 925 $ 1,151      
UNF and UNF America [Member]                
Schedule Of Equity Method Investments [Line Items]                
Percentage of current and total assets and total liabilities counted for by equity method investments       5.00%