v3.25.2
Acquisition - Additional Information (Detail) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Feb. 21, 2025
Jul. 12, 2025
Dec. 28, 2024
Jul. 13, 2024
Jul. 12, 2025
Jul. 13, 2024
Business Combination [Line Items]            
Acquisition related costs   $ 871 $ 2,000 $ 0 $ 14,635 $ 0
Additional costs related to acquisition   900     14,600  
Increase (Decrease) in pro forma net income attributable to flowers foods   2,400   $ (12,500) 6,800 $ (37,300)
Goodwill recorded for acquisition and not deductible for tax purposes $ 367,900          
Simple Mills            
Business Combination [Line Items]            
Business acquisition completed date Feb. 21, 2025          
Business acquisition consideration amount $ 848,585          
Percentage of outstanding membership interests 100.00%          
Goodwill adjustment   19,000        
Business acquisition, cash acquired $ (38,833)          
Contributed net sales   61,400     85,700  
Net loss   $ 2,100     $ 6,300  
Simple Mills | Payable to Sellers upon Realization of Certain Tax Benefits            
Business Combination [Line Items]            
Business acquisition consideration amount $ 17,800