v3.7.0.1
CONSOLIDATED BALANCE SHEET COMPONENTS - Property and Equipment (Details) - USD ($)
$ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2017
Jun. 30, 2016
Jun. 30, 2017
Jun. 30, 2016
Dec. 31, 2016
Property and Equipment [Line Items]          
Property and equipment, gross $ 17,720   $ 17,720   $ 17,529
Less: Accumulated depreciation and amortization (10,082)   (10,082)   (8,521)
Property and equipment, net 7,638   7,638   9,008
Capital Leased Assets, Gross 1,200   1,200   1,200
Capital Leases, Lessee Balance Sheet, Assets by Major Class, Accumulated Depreciation 300   300   200
Depreciation and amortization expense 800 $ 900 1,600 $ 1,800  
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,540   $ 4,540   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,053   $ 2,053   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