v3.8.0.1
CONSOLIDATED BALANCE SHEET COMPONENTS - Property and Equipment (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2017
Sep. 30, 2016
Sep. 30, 2017
Sep. 30, 2016
Dec. 31, 2016
Property and Equipment [Line Items]          
Property and equipment, gross $ 17,813   $ 17,813   $ 17,529
Less: Accumulated depreciation and amortization (10,808)   (10,808)   (8,521)
Property and equipment, net 7,005   7,005   9,008
Capital Leased Assets, Gross 1,200   1,200   1,200
Capital Leases, Lessee Balance Sheet, Assets by Major Class, Accumulated Depreciation 400   400   200
Depreciation and amortization expense 700 $ 900 2,400 $ 2,700  
Computer and other equipment          
Property and Equipment [Line Items]          
Property and equipment, gross 1,902   $ 1,902   1,920
Estimated useful lives     3 years    
Manufacturing, research and development laboratory equipment          
Property and Equipment [Line Items]          
Property and equipment, gross 4,543   $ 4,543   4,314
Estimated useful lives     3 years    
Software and Software Development Costs [Member]          
Property and Equipment [Line Items]          
Property and equipment, gross 8,217   $ 8,217   8,217
Estimated useful lives     5 years    
Software and Software Development Costs [Member] | Minimum          
Property and Equipment [Line Items]          
Estimated useful lives     2 years    
Software and Software Development Costs [Member] | Maximum          
Property and Equipment [Line Items]          
Estimated useful lives     5 years    
Office furniture and equipment          
Property and Equipment [Line Items]          
Property and equipment, gross 2,065   $ 2,065   2,070
Office furniture and equipment | Minimum          
Property and Equipment [Line Items]          
Estimated useful lives     3 years    
Office furniture and equipment | Maximum          
Property and Equipment [Line Items]          
Estimated useful lives     7 years    
Leasehold improvements          
Property and Equipment [Line Items]          
Property and equipment, gross 1,008   $ 1,008   $ 1,008
Construction in Progress [Member]          
Property and Equipment [Line Items]          
Property and equipment, gross $ 78   $ 78