v3.22.4
Summary of Significant Accounting Policies - Revenue Recognition (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Accounting Policies [Abstract]      
Invoice payment period (years) 30 days    
Disaggregation of Revenue [Line Items]      
Net revenue $ 1,358,207 $ 1,142,036 $ 1,016,609
Sweet Baked Goods      
Disaggregation of Revenue [Line Items]      
Net revenue 1,210,507 1,025,541 920,388
Cookies      
Disaggregation of Revenue [Line Items]      
Net revenue 147,700 116,495 96,221
United States      
Disaggregation of Revenue [Line Items]      
Net revenue 1,337,927 1,124,338 998,080
United States | Sweet Baked Goods      
Disaggregation of Revenue [Line Items]      
Net revenue 1,210,507 1,025,541 920,388
United States | Cookies      
Disaggregation of Revenue [Line Items]      
Net revenue 127,420 98,797 77,692
Canada      
Disaggregation of Revenue [Line Items]      
Net revenue 20,280 17,698 18,529
Canada | Sweet Baked Goods      
Disaggregation of Revenue [Line Items]      
Net revenue 0 0 0
Canada | Cookies      
Disaggregation of Revenue [Line Items]      
Net revenue $ 20,280 $ 17,698 $ 18,529