XML 47 R30.htm IDEA: XBRL DOCUMENT v3.8.0.1
Basis of Presentation, Accounting Policies and Going Concern (Details) - USD ($)
9 Months Ended 12 Months Ended
Sep. 30, 2017
Dec. 31, 2017
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Nov. 03, 2014
Organization, Consolidation and Presentation of Financial Statements [Abstract]            
Cash and cash equivalents   $ 136,986,000 $ 82,387,000 $ 61,653,000 $ 146,470,000  
Allowance for loan and lease losses, write-offs $ 0          
Allowance for doubtful accounts receivable $ 0          
Property, Plant and Equipment [Line Items]            
Prepaid research and development costs   $ 72,000 $ 33,000      
Total shares issuable upon exercise or conversion (in shares)   58,425,077 36,347,633 76,809,137    
Stock Options            
Property, Plant and Equipment [Line Items]            
Total shares issuable upon exercise or conversion (in shares)   29,868,291 27,867,171 20,953,375    
Warrants            
Property, Plant and Equipment [Line Items]            
Total shares issuable upon exercise or conversion (in shares)   22,575,114 919,690 4,726,823    
Senior Convertible Notes            
Property, Plant and Equipment [Line Items]            
Total shares issuable upon exercise or conversion (in shares)   5,981,672 7,560,772 51,128,939    
Convertible Senior Notes Due 2019            
Property, Plant and Equipment [Line Items]            
Aggregate principal amount   $ 18,603,000 $ 23,500,000.0 $ 159,000,000   $ 200,000,000
Number of shares issued on conversion of debt (in shares)   5,981,672 7,560,772 51,128,939    
Minimum | Furniture and equipment            
Property, Plant and Equipment [Line Items]            
Property, plant and equipment, useful life   2 years        
Maximum | Furniture and equipment            
Property, Plant and Equipment [Line Items]            
Property, plant and equipment, useful life   5 years        
Three Largest Customer | Customer Concentration Risk | Accounts Receivable            
Property, Plant and Equipment [Line Items]            
Concentration risk, percentage   97.00%        
AmerisourceBergen | Customer Concentration Risk | Accounts Receivable            
Property, Plant and Equipment [Line Items]            
Concentration risk, percentage   39.00%        
McKesson Corporation | Customer Concentration Risk | Accounts Receivable            
Property, Plant and Equipment [Line Items]            
Concentration risk, percentage   31.00%        
Cardinal Health | Customer Concentration Risk | Accounts Receivable            
Property, Plant and Equipment [Line Items]            
Concentration risk, percentage   25.00%