v3.26.1
Dispositions - Additional Information (Details) - USD ($)
$ in Thousands
1 Months Ended 3 Months Ended 9 Months Ended
Feb. 28, 2026
Mar. 31, 2026
Mar. 31, 2025
Mar. 31, 2026
Mar. 31, 2025
Feb. 27, 2026
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      
Pretax loss on sale of assets   $ 50,529 $ (106) 48,501 $ (2,202)    
ParmCrisps | Disposed of by Sale              
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      
North American Snacks Business | Disposed of by Sale              
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      
Other expense, net | ParmCrisps | Disposed of by Sale              
Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items]              
Pretax loss on sale of assets       3,863      
Other expense, net | North American Snacks Business | Disposed of by Sale              
Income Statement, Balance Sheet and Additional Disclosures by Disposal Groups, Including Discontinued Operations [Line Items]              
Pretax loss on sale of assets       $ 50,764