Quarterly report pursuant to Section 13 or 15(d)

Balance Sheet Details - Property and Equipment (Details 3)

v3.10.0.1
Balance Sheet Details - Property and Equipment (Details 3) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2018
Jun. 30, 2017
Jun. 30, 2018
Jun. 30, 2017
Dec. 31, 2017
Property, Plant and Equipment [Line Items]          
Property and equipment, gross $ 70,693   $ 70,693   $ 66,711
Less accumulated depreciation and amortization (49,807)   (49,807)   (44,053)
Property and equipment, net 20,886   20,886   22,658
Depreciation 3,000 $ 3,600 $ 6,100 $ 5,800  
Furniture and fixtures          
Property, Plant and Equipment [Line Items]          
Useful life     5 years    
Property and equipment, gross 2,265   $ 2,265   2,105
Machinery and equipment          
Property, Plant and Equipment [Line Items]          
Property and equipment, gross 34,975   $ 34,975   33,462
Machinery and equipment | Minimum          
Property, Plant and Equipment [Line Items]          
Useful life     3 years    
Machinery and equipment | Maximum          
Property, Plant and Equipment [Line Items]          
Useful life     5 years    
Masks and production equipment          
Property, Plant and Equipment [Line Items]          
Useful life     2 years    
Property and equipment, gross 11,822   $ 11,822   11,470
Software          
Property, Plant and Equipment [Line Items]          
Useful life     3 years    
Property and equipment, gross 4,854   $ 4,854   4,695
Leasehold improvements          
Property, Plant and Equipment [Line Items]          
Property and equipment, gross 15,716   $ 15,716   14,340
Leasehold improvements | Minimum          
Property, Plant and Equipment [Line Items]          
Useful life     1 year    
Leasehold improvements | Maximum          
Property, Plant and Equipment [Line Items]          
Useful life     5 years    
Construction in progress          
Property, Plant and Equipment [Line Items]          
Property and equipment, gross $ 1,061   $ 1,061   $ 639