v3.26.3
Dispositions - Additional Information (Details) - USD ($)
$ in Thousands
1 Months Ended 12 Months Ended
Feb. 28, 2026
Jun. 30, 2026
Jun. 30, 2025
Feb. 27, 2026
May 22, 2025
Aug. 30, 2024
Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items]            
Goodwill, written off related to sale of business unit   $ 57,082 $ 7,280      
Pretax gain (loss) on sale of assets   (48,710) 3,194      
Disposed of by Sale | North American Snacks Business            
Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items]            
Cash consideration to be received for sale of business       $ 111,200    
Total purchase price       $ 115,000    
Goodwill, written off related to sale of business unit $ 57,082 57,082        
Inventory, written off related to sale of business unit   29,415        
Machinery and equipment, written off related to sale of business unit   55,952        
Disposed of by Sale | North American Snacks Business | Other expense, net            
Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items]            
Pretax gain (loss) on sale of assets   (50,764)        
Disposed of by Sale | ParmCrisps            
Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items]            
Cash consideration to be received for sale of business           $ 12,000
Goodwill, written off related to sale of business unit     7,280      
Inventory, written off related to sale of business unit     6,725      
Machinery and equipment, written off related to sale of business unit     1,282      
Disposed of by Sale | ParmCrisps | Other expense, net            
Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items]            
Pretax gain (loss) on sale of assets     $ (3,863)      
Disposed of by Sale | Chop't Creative Salad Company LLC            
Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items]            
Cash consideration to be received for sale of business         $ 10,000  
Disposed of by Sale | Chop't Creative Salad Company LLC | Other expense, net            
Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items]            
Pretax gain (loss) on sale of assets   $ 5,396