XML 64 R47.htm IDEA: XBRL DOCUMENT v3.10.0.1
The Company and basis of presentation - Narrative (Details) - USD ($)
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Dec. 31, 2016
Sep. 30, 2017
Concentration Risk [Line Items]        
Working capital $ 116,800,000      
Cash, cash equivalents, short-term investments and restricted cash 76,700,000      
Operating losses 41,658,000 $ 51,364,000 $ (3,019,000)  
Cash outflows from operating activities (19,595,000) 32,767,000 $ (53,836,000)  
Accumulated deficit 397,472,000 352,011,000    
Notes payable 4,800,000      
Current portion of long-term debt 2,897,000 $ 6,005,000    
Revolving Credit Facility | Wells Fargo Bank, National Association        
Concentration Risk [Line Items]        
Line of credit maximum borrowing capacity       $ 50,000,000.0
Amount outstanding on line of credit 36,000,000      
Line of credit remaining borrowing capacity 14,000,000      
Required amount to be maintained as unused borrowing capacity $ 5,000,000