XML 35 R22.htm IDEA: XBRL DOCUMENT v3.7.0.1
Significant Accounting Policies - Additional Information (Detail)
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Jan. 31, 2017
USD ($)
Jan. 31, 2012
Mar. 31, 2017
USD ($)
Jun. 30, 2016
USD ($)
Jun. 30, 2017
USD ($)
Segment
Jun. 30, 2016
USD ($)
Dec. 31, 2016
USD ($)
Jan. 20, 2017
USD ($)
Dec. 31, 2015
USD ($)
Nov. 30, 2015
USD ($)
May 31, 2014
USD ($)
Dec. 31, 2012
USD ($)
Significant Accounting Policies [Line Items]                        
Sales discount percentage         2.00%              
Trade receivables, credit period         30 days              
Accounts receivable written off         $ 0              
Gain (loss) on change in fair value of derivative liabilities       $ 5,810,000   $ 4,560,000            
Number of operating segments | Segment         1              
Embedded Derivative Financial Instruments | BioPharma Debt                        
Significant Accounting Policies [Line Items]                        
Maximum repayment of future revenue and receivables                       $ 150,000,000
Fair value of embedded derivative liability       2,800,000 $ 0 2,800,000 $ 0   $ 5,500,000      
Gain (loss) on change in fair value of derivative liabilities         $ 0 $ 2,700,000            
Embedded Derivative Financial Instruments | BioPharma Debt | Minimum                        
Significant Accounting Policies [Line Items]                        
Derivative liability fair value assumptions, term         1 year 10 months 25 days   2 years 4 months 24 days          
Derivative liability fair value assumption, coupon rate         8.10%   8.10%          
Derivative liability fair value assumptions, market yields         8.10%   11.90%          
Embedded Derivative Financial Instruments | BioPharma Debt | Maximum                        
Significant Accounting Policies [Line Items]                        
Derivative liability fair value assumptions, term         4 years 6 months   5 years          
Derivative liability fair value assumption, coupon rate         11.10%   11.10%          
Derivative liability fair value assumptions, market yields         17.50%   18.40%          
Top Three Customers | Gross Product Sales | Customer Concentration Risk                        
Significant Accounting Policies [Line Items]                        
Concentration risk percentage         92.00% 95.00%            
Top Three Customers | Accounts Receivable | Customer Concentration Risk                        
Significant Accounting Policies [Line Items]                        
Concentration risk percentage         86.00% 94.00%            
2012 Notes                        
Significant Accounting Policies [Line Items]                        
Aggregate principal amount of notes $ 15,000,000                      
Aggregate principal amount redeemed 100,000                      
2017 Notes                        
Significant Accounting Policies [Line Items]                        
Aggregate principal amount of notes         $ 30,000,000              
Convertible senior notes, discount         $ 1,200,000              
Convertible Debt | 2012 Notes                        
Significant Accounting Policies [Line Items]                        
Aggregate principal amount of notes             $ 15,107,000          
Convertible senior notes, discount             $ 0          
Note, expected term   24 months     24 months              
Convertible senior notes, principal amount purchase $ 15,000,000   $ 15,000,000             $ 16,200,000    
Convertible senior notes, aggregate principal amount redeemed     $ 100,000   $ 100,000              
Convertible senior notes, outstanding amount         0              
Convertible Debt | 2017 Notes                        
Significant Accounting Policies [Line Items]                        
Convertible senior notes, discount         1,100,000     $ 1,200,000        
Convertible Debt | 2014 Notes                        
Significant Accounting Policies [Line Items]                        
Convertible senior notes, discount                     $ 27,900,000  
Fair value of embedded derivative liability       600,000   $ 600,000     2,100,000      
Gain (loss) on change in fair value of derivative liabilities           1,500,000            
Convertible Debt | 2014 Notes and 2015 Notes                        
Significant Accounting Policies [Line Items]                        
Gain (loss) on change in fair value of derivative liabilities         $ 0              
Convertible Debt | 2015 Notes                        
Significant Accounting Policies [Line Items]                        
Convertible senior notes, discount                   $ 3,800,000    
Fair value of embedded derivative liability       $ 200,000   200,000     $ 600,000      
Gain (loss) on change in fair value of derivative liabilities           $ 400,000