Annual report pursuant to Section 13 and 15(d)

Borrowings - Additional information (Details)

v3.24.0.1
Borrowings - Additional information (Details)
3 Months Ended 12 Months Ended
Apr. 20, 2023
USD ($)
day
$ / shares
$ / derivativeShare
Jul. 02, 2023
USD ($)
Dec. 31, 2023
USD ($)
$ / shares
Jan. 01, 2023
USD ($)
Jan. 02, 2022
USD ($)
Apr. 17, 2023
$ / shares
Debt Instrument [Line Items]            
Short-term debt     $ 5,917,000 $ 0    
Short-term loans     4,300,000      
Current portion of long-term debt     $ 1,605,000      
Weighted average interest rate on the short-term loans     5.30%      
Long-term debt, fair value     $ 3,300,000      
Purchase of Capped Calls $ 17,300,000 $ 17,300,000 17,250,000 0 $ 0  
Debt issuance cost incurred     $ 5,917,000 0 $ 90,000  
Share price (in dollars per share) | $ / shares     $ 12.52      
Accrued interest     $ 900,000 $ 0    
Common Stock            
Debt Instrument [Line Items]            
Share price (in dollars per share) | $ / shares           $ 13.57
Capped Call Transaction            
Debt Instrument [Line Items]            
Cap price (in dollars per share) | $ / derivativeShare 21.17          
Capped Call Transaction | Common Stock            
Debt Instrument [Line Items]            
Cap price premium percentage over share price 56.00%          
3.0 % Convertible Senior Notes            
Debt Instrument [Line Items]            
Conversion price (in dollars per share) | $ / shares $ 15.61          
3.0 % Convertible Senior Notes | Convertible Debt            
Debt Instrument [Line Items]            
Principal balance $ 172,500,000          
Proceeds from issuance of convertible senior notes $ 166,600,000          
Conversion Ratio 0.0640800          
Redemption price, percentage of principal 100.00%          
Minimum principal amount outstanding not subject to partial redemption $ 100,000,000          
Debt issuance cost incurred     $ 5,900,000      
3.0 % Convertible Senior Notes | Convertible Debt | Debt Conversion Condition One            
Debt Instrument [Line Items]            
Threshold trading days | day 20          
Threshold consecutive trading days | day 30          
Threshold percentage of stock price trigger 130.00%          
3.0 % Convertible Senior Notes | Convertible Debt | Debt Conversion Condition Two            
Debt Instrument [Line Items]            
Threshold trading days | day 5          
Threshold consecutive trading days | day 10          
Threshold percentage of stock price trigger 98.00%          
Purchase Option | Convertible Debt            
Debt Instrument [Line Items]            
Principal balance $ 22,500,000          
Affiliate Notes | Convertible Debt | Related Party            
Debt Instrument [Line Items]            
Principal balance $ 10,000,000          
Convertible Senior Notes | Convertible Debt            
Debt Instrument [Line Items]            
Annual Interest Rate 3.00%