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 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Dec. 31, 2017
Property, Plant and Equipment [Line Items]          
Property and equipment, gross $ 71,641   $ 71,641   $ 66,711
Less accumulated depreciation and amortization (52,228)   (52,228)   (44,053)
Property and equipment, net 19,413   19,413   22,658
Depreciation 2,800 $ 3,400 $ 8,900 $ 9,200  
Furniture and fixtures          
Property, Plant and Equipment [Line Items]          
Useful life     5 years    
Property and equipment, gross 2,085   $ 2,085   2,105
Machinery and equipment          
Property, Plant and Equipment [Line Items]          
Property and equipment, gross 34,550   $ 34,550   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 12,631   $ 12,631   11,470
Software          
Property, Plant and Equipment [Line Items]          
Useful life     3 years    
Property and equipment, gross 5,686   $ 5,686   4,695
Leasehold improvements          
Property, Plant and Equipment [Line Items]          
Property and equipment, gross 16,096   $ 16,096   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 $ 593   $ 593   $ 639