v3.26.1
Goodwill and Other Intangible Assets - Schedule of Changes in Carrying Amount of Goodwill (Parenthetical) (Details) - USD ($)
$ in Thousands
1 Months Ended 9 Months Ended
Feb. 28, 2026
Mar. 31, 2026
Jun. 30, 2025
Goodwill [Line Items]      
Accumulated impairment charge     $ 563,159
Goodwill, written off related to sale of business unit   $ 57,082  
North America      
Goodwill [Line Items]      
Accumulated impairment charge     365,379
Goodwill, written off related to sale of business unit   57,082  
International      
Goodwill [Line Items]      
Accumulated impairment charge     $ 197,780
Goodwill, written off related to sale of business unit   0  
North American Snacks Business | Disposed of by Sale      
Goodwill [Line Items]      
Goodwill, written off related to sale of business unit $ 57,082 $ 57,082