Annual report pursuant to Section 13 and 15(d)

Balance Sheet Details - Property and Equipment, Net (Details)

v3.22.0.1
Balance Sheet Details - Property and Equipment, Net (Details) - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Property, Plant and Equipment [Line Items]      
Property and equipment, gross $ 145,319 $ 109,300  
Less: accumulated depreciation and amortization (84,395) (69,830)  
Property and equipment, net 60,924 39,470  
Depreciation $ 17,700 11,300 $ 7,300
Minimum      
Property, Plant and Equipment [Line Items]      
Useful Life (in Years) 2 years    
Maximum      
Property, Plant and Equipment [Line Items]      
Useful Life (in Years) 5 years    
Furniture and fixtures      
Property, Plant and Equipment [Line Items]      
Useful Life (in Years) 5 years    
Property and equipment, gross $ 3,917 2,524  
Machinery and equipment      
Property, Plant and Equipment [Line Items]      
Property and equipment, gross $ 65,004 55,456  
Machinery and equipment | Minimum      
Property, Plant and Equipment [Line Items]      
Useful Life (in Years) 3 years    
Machinery and equipment | Maximum      
Property, Plant and Equipment [Line Items]      
Useful Life (in Years) 5 years    
Masks and production equipment      
Property, Plant and Equipment [Line Items]      
Property and equipment, gross $ 32,099 19,205  
Masks and production equipment | Minimum      
Property, Plant and Equipment [Line Items]      
Useful Life (in Years) 2 years    
Masks and production equipment | Maximum      
Property, Plant and Equipment [Line Items]      
Useful Life (in Years) 5 years    
Software      
Property, Plant and Equipment [Line Items]      
Useful Life (in Years) 3 years    
Property and equipment, gross $ 8,763 7,194  
Leasehold improvements      
Property, Plant and Equipment [Line Items]      
Property and equipment, gross $ 30,889 16,871  
Leasehold improvements | Minimum      
Property, Plant and Equipment [Line Items]      
Useful Life (in Years) 1 year    
Leasehold improvements | Maximum      
Property, Plant and Equipment [Line Items]      
Useful Life (in Years) 5 years    
Construction in progress      
Property, Plant and Equipment [Line Items]      
Property and equipment, gross $ 4,647 $ 8,050