XML 77 R53.htm IDEA: XBRL DOCUMENT v3.8.0.1
Fair Value of Financial Instruments - Additional Information (Detail) - USD ($)
12 Months Ended
Dec. 31, 2017
Dec. 31, 2016
Jul. 01, 2013
Fair Value Of Financial Instruments [Line Items]      
Cash equivalents, money market funds $ 41,000,000 $ 20,500,000  
Fair value of the liability, percentage decrease 4.00%    
Milestone Rights Liability | Deerfield      
Fair Value Of Financial Instruments [Line Items]      
Long term liability $ 8,900,000    
Minimum      
Fair Value Of Financial Instruments [Line Items]      
Probabilities of meeting the milestones, amount $ 50,000,000    
Probabilities of meeting the milestones, percentage decrease 5.00%    
Fair value of the liability, percentage decrease 14.00%    
Maximum      
Fair Value Of Financial Instruments [Line Items]      
Probabilities of meeting the milestones, amount $ 200,000,000    
Probabilities of meeting the milestones, percentage decrease 10.00%    
Fair value of the liability, percentage decrease 28.00%    
Senior convertible notes due December 31, 2019 | Milestone Rights Liability | Deerfield      
Fair Value Of Financial Instruments [Line Items]      
Long term liability $ 7,200,000 $ 8,900,000 $ 13,100,000
Fair Value, Inputs, Level 3 | Milestone Rights Liability      
Fair Value Of Financial Instruments [Line Items]      
Fair value of warrants liability $ 19,100,000    
Fair Value, Inputs, Level 3 | Market Approach Valuation Technique | 5.75% Senior convertible notes due October 23, 2021 | Senior Convertible Notes      
Fair Value Of Financial Instruments [Line Items]      
Fair value assumption, risk-free rate 20.00%    
Fair value assumption, stock price volatility 102.00%    
Fair Value, Inputs, Level 3 | Income Approach Valuation Technique | Milestone Rights Liability      
Fair Value Of Financial Instruments [Line Items]      
Market discount rate 14.00%    
Fair Value, Inputs, Level 3 | Income Approach Valuation Technique | Senior convertible notes due December 31, 2019 | Minimum      
Fair Value Of Financial Instruments [Line Items]      
Market discount rate 12.00%    
Fair Value, Inputs, Level 3 | Income Approach Valuation Technique | Senior convertible notes due December 31, 2019 | Maximum      
Fair Value Of Financial Instruments [Line Items]      
Market discount rate 13.00%