XML 100 R55.htm IDEA: XBRL DOCUMENT v3.20.1
Credit Facilities (Deerfield Facility Agreement, as Amended) (Details)
12 Months Ended
Apr. 03, 2019
USD ($)
$ / shares
shares
Apr. 01, 2019
USD ($)
day
$ / shares
shares
Mar. 31, 2019
USD ($)
Aug. 09, 2018
USD ($)
Jan. 12, 2018
USD ($)
Dec. 31, 2019
USD ($)
shares
Dec. 31, 2018
USD ($)
Dec. 31, 2017
USD ($)
Mar. 04, 2020
USD ($)
Apr. 03, 2017
USD ($)
Nov. 02, 2015
Debt Instrument [Line Items]                      
Stock trigger price (usd per share) | $ / shares $ 6.61                    
Maximum equity owned by Investor           9.50%          
Number of shares issued | shares 7,889,552                    
Sale of stock price per share (usd per share) | $ / shares $ 6.61                    
Consideration received on transaction $ 52,150,000.00   $ 52,200,000                
Gain (loss) on extinguishment of debt           $ (11,756,000) $ (2,270,000) $ (6,512,000)      
Long-term debt           $ 245,303,000          
Convertible Senior Notes Due 2020                      
Debt Instrument [Line Items]                      
Debt instrument, stated interest rate       3.25%   3.25%          
Voluntary Conversion                      
Debt Instrument [Line Items]                      
Stock trigger price (usd per share) | $ / shares $ 7.271                    
Term loan facility                      
Debt Instrument [Line Items]                      
Long-term debt           $ 167,858,000          
Term loan facility | Facility Agreement                      
Debt Instrument [Line Items]                      
Debt instrument face amount                   $ 120,000,000  
Term loan facility | Amended Facility Agreement                      
Debt Instrument [Line Items]                      
Debt instrument face amount       $ 40,500,000.0              
Term loan facility | Term Loan                      
Debt Instrument [Line Items]                      
Long-term debt           141,300,000.0          
Deferred financing cost           2,600,000.0          
First Out Waterfall Notes                      
Debt Instrument [Line Items]                      
Gain (loss) on extinguishment of debt           (29,300,000.0)          
Fair value of warrants issued in connection with the facility agreement           4,800,000.0          
Derivative liabilities removal           5,900,000.0          
Convertible notes                      
Debt Instrument [Line Items]                      
Long-term debt           73,164,000          
Convertible notes | Convertible Senior Notes Due 2020                      
Debt Instrument [Line Items]                      
Debt instrument face amount       $ 40,500,000.0              
Debt instrument, stated interest rate       3.25%             3.25%
Gain (loss) on extinguishment of debt           $ 17,500,000.0          
Convertible notes | Convertible Senior Notes Due 2024                      
Debt Instrument [Line Items]                      
Debt instrument, stated interest rate           5.00%          
Interest rate, payable in kind           4.75%          
Revolving loan facility                      
Debt Instrument [Line Items]                      
Debt instrument, stated interest rate     5.50%                
Deferred financing cost           $ 400,000.0          
Revolving loan facility | Amended and Restated Facility Agreement                      
Debt Instrument [Line Items]                      
Debt instrument face amount       $ 40,500,000.0              
Deerfield ELGX Revolver, LLC                      
Debt Instrument [Line Items]                      
Stock trigger price (usd per share) | $ / shares   $ 6.625                  
Mandatory conversion of shares   $ 1,666,666                  
Voluntary conversion amount   $ 50,000,000.0       1,700,000.0          
Maximum equity owned by Investor   4.985%                  
Line of credit facility increase (decrease)       5,000,000.0              
Exit fee upon termination   $ 6,100,000.0   11,100,000.0              
Commitment reduction   $ 10,000,000                  
Debt instrument, carrying amount of equity component           $ 1,300,000.0          
Deerfield ELGX Revolver, LLC | Fixed Price Conversion                      
Debt Instrument [Line Items]                      
VWAP Days | day   5                  
Deerfield ELGX Revolver, LLC | Voluntary Conversion                      
Debt Instrument [Line Items]                      
VWAP Days | day   15                  
Volume weighted average price rate trigger   85.00%                  
Deerfield ELGX Revolver, LLC | Optional Required Voluntary Conversion                      
Debt Instrument [Line Items]                      
VWAP Days | day   15                  
Volume weighted average price rate trigger   175.00%                  
Deerfield ELGX Revolver, LLC | Term loan facility | Second Amendment to Facility Agreement                      
Debt Instrument [Line Items]                      
Maximum number of shares under mandatory redemption | shares   1,430,001                  
Percentage of market value attributable to principal that is paid with common stock   96.00%                  
Deerfield ELGX Revolver, LLC | First Out Waterfall Notes | Second Amendment to Facility Agreement                      
Debt Instrument [Line Items]                      
Maximum number of shares under mandatory redemption | shares           251,571          
Deerfield ELGX Revolver, LLC | Revolving loan facility                      
Debt Instrument [Line Items]                      
Debt instrument face amount     $ 120,000,000.0                
Global liquidity requirement     $ 17,500,000.0 $ 22,500,000.0   $ 17,500,000.0          
Waterfall loans due     16.67%       33.33%        
Remainder of the first out water fall loans     50.00%                
Gain (loss) on extinguishment of debt         $ (2,270,000.000)            
Optional stock payment for interest removed | shares           250,000          
Revolving loan facility           $ 0          
Maximum | Term loan facility | Term Loan                      
Debt Instrument [Line Items]                      
Interest expense           29,600,000.0          
Maximum | Deerfield ELGX Revolver, LLC                      
Debt Instrument [Line Items]                      
Mandatory conversion of shares   $ 25,000,000.0                  
Minimum | Term loan facility | Term Loan                      
Debt Instrument [Line Items]                      
Interest expense           $ 4,500,000.0          
Subsequent Event | Deerfield ELGX Revolver, LLC | Revolving loan facility | First Out Waterfall Notes                      
Debt Instrument [Line Items]                      
Percentage of loans for extended due date                 8.333%    
Revolving loan facility                 $ 10,700,000