Annual report pursuant to Section 13 and 15(d)

Concentration of Credit Risk, Significant Customers and Geographic Information (Details)

v3.22.0.1
Concentration of Credit Risk, Significant Customers and Geographic Information (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Concentration Risk [Line Items]      
Net revenue $ 892,398 $ 478,596 $ 317,180
Net Revenue      
Concentration Risk [Line Items]      
Net revenue $ 892,398 $ 478,596 $ 317,180
Net Revenue | Geographic Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage 100.00% 100.00% 100.00%
Net Revenue | Asia      
Concentration Risk [Line Items]      
Net revenue $ 736,808 $ 393,579 $ 265,122
Net Revenue | Asia | Geographic Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage 83.00% 82.00% 84.00%
Net Revenue | United States      
Concentration Risk [Line Items]      
Net revenue $ 35,978 $ 15,501 $ 13,984
Net Revenue | United States | Geographic Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage 4.00% 3.00% 4.00%
Net Revenue | Rest of world      
Concentration Risk [Line Items]      
Net revenue $ 119,612 $ 69,516 $ 38,074
Net Revenue | Rest of world | Geographic Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage 13.00% 15.00% 12.00%
Net Revenue | Hong Kong | Geographic Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage 40.00% 42.00% 46.00%
Net Revenue | China | Geographic Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage 12.00% 17.00% 14.00%
Net Revenue | Vietnam | Geographic Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage 13.00%    
Inventory | Vendor A | Supplier Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage 38.00% 34.00%  
Inventory | Vendor B | Supplier Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage 22.00% 20.00% 14.00%
Inventory | Vendor C | Supplier Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage 12.00%   17.00%
Inventory | Vendor D | Supplier Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage   11.00% 13.00%
Inventory | Vendor E | Supplier Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage     15.00%
Long lived assets      
Concentration Risk [Line Items]      
Long lived assets $ 547,401 $ 571,450  
Long lived assets | Geographic Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage 100.00% 100.00%  
Long lived assets | United States      
Concentration Risk [Line Items]      
Long lived assets $ 382,650 $ 403,071  
Long lived assets | United States | Geographic Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage 70.00% 72.00%  
Long lived assets | Rest of world      
Concentration Risk [Line Items]      
Long lived assets $ 42,277 $ 31,412  
Long lived assets | Rest of world | Geographic Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage 8.00% 5.00%  
Long lived assets | Singapore      
Concentration Risk [Line Items]      
Long lived assets $ 122,474 $ 136,967  
Long lived assets | Singapore | Geographic Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage 22.00% 24.00%  
Customer A | Net Revenue | Customer Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage 15.00% 15.00% 14.00%
Customer B | Net Revenue | Customer Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage 11.00% 13.00%  
Customer B | Accounts Receivable | Customer Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage 14.00% 17.00%  
Customer C | Accounts Receivable | Customer Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage 17.00%    
Customer D | Accounts Receivable | Customer Concentration Risk      
Concentration Risk [Line Items]      
Concentration risk percentage   13.00%