v3.26.3
Goodwill and Other Intangible Assets - Schedule of Changes in Carrying Amount of Goodwill (Parenthetical) (Details) - USD ($)
$ in Thousands
1 Months Ended 12 Months Ended
Feb. 28, 2026
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Goodwill [Line Items]        
Accumulated impairment charge       $ 134,277
Goodwill, written off related to sale of business unit   $ 57,082 $ 7,280  
North America        
Goodwill [Line Items]        
Accumulated impairment charge       7,700
Goodwill, written off related to sale of business unit   57,082 7,280  
International        
Goodwill [Line Items]        
Accumulated impairment charge       $ 126,577
Goodwill, written off related to sale of business unit   0 $ 0  
Disposed of by Sale | North American Snacks Business        
Goodwill [Line Items]        
Goodwill, written off related to sale of business unit $ 57,082 $ 57,082