Fair Value Measurements - Beginning and ending amounts of the fair value (Details) - Level 3 - USD ($) $ in Thousands |
12 Months Ended | |
---|---|---|
Dec. 28, 2021 |
Dec. 29, 2020 |
|
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | ||
Beginning balance | $ 7,465 | $ 13,218 |
Change in fair value | 16,429 | (5,753) |
Ending balance | $ 23,894 | $ 7,465 |