XML 56 R40.htm IDEA: XBRL DOCUMENT v3.19.2
Credit Facilities (Deerfield Facility Agreement, as Amended) (Details)
3 Months Ended 6 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 ($)
Jun. 30, 2019
USD ($)
shares
Jun. 30, 2018
USD ($)
Jun. 30, 2019
USD ($)
shares
Jun. 30, 2018
USD ($)
Dec. 31, 2018
Apr. 03, 2017
USD ($)
Nov. 02, 2015
USD ($)
Debt Instrument [Line Items]                        
Stock trigger price (usd per share) | $ / shares $ 6.61                      
Maximum equity owned by Investor           9.50%   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   $ 52,150,000                  
Gain (loss) on extinguishment of debt           $ (11,756,000) $ 0 $ (11,756,000) $ (2,270,000)      
Paid-in-Kind interest               3,883,000 $ 0      
Long-term Debt, Gross           244,639,000   244,639,000        
Convertible Senior Notes Due 2020                        
Debt Instrument [Line Items]                        
Debt instrument face amount       $ 40,500,000.0                
Debt instrument, stated interest rate       3.25%                
Credit Agreement                        
Debt Instrument [Line Items]                        
Debt instrument face amount         $ 50,000,000              
Global liquidity requirement               17,500,000        
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, Gross           163,860,000   163,860,000        
Term loan facility | Facility Agreement, Due 2023                        
Debt Instrument [Line Items]                        
Debt instrument face amount                     $ 120,000,000.0  
Term loan facility | Term Loan [Member]                        
Debt Instrument [Line Items]                        
Long-term Debt, Gross           124,600,000   124,600,000        
Deferred financing cost           3,200,000   3,200,000        
Convertible notes                        
Debt Instrument [Line Items]                        
Long-term Debt, Gross           76,498,000   $ 76,498,000        
Convertible notes | Convertible Senior Notes Due 2020                        
Debt Instrument [Line Items]                        
Debt instrument face amount                       $ 125,000,000
Debt instrument, stated interest rate                       3.25%
Gain (loss) on extinguishment of debt           $ 17,500,000            
Debt instrument, unamortized discount                       $ 2,900,000
Convertible notes | Convertible Senior Notes Due 2024                        
Debt Instrument [Line Items]                        
Debt instrument, stated interest rate           5.00%   5.00%        
Interest rate, payable in kind           4.75%   4.75%        
First Out Waterfall Notes                        
Debt Instrument [Line Items]                        
Gain (loss) on extinguishment of debt           $ 29,300,000            
Fair Value Adjustment of Warrants           4,800,000            
Derivative Liabilities Removal           5,900,000            
Revolving loan facility                        
Debt Instrument [Line Items]                        
Debt instrument, stated interest rate     5.50%                  
Deferred financing cost           400,000   $ 400,000        
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   1,700,000.0        
Debt Instrument, Convertible, Carrying Amount of Equity Component           $ 1,200,000   $ 1,200,000        
Maximum equity owned by Investor   4.985%                    
Line of Credit Facility, Increase (Decrease), Net       5,000,000                
Exit fee upon termination   $ 6,100,000   11,100,000                
Commitment reduction   $ 10,000,000                    
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   251,571        
Deerfield ELGX Revolver, LLC | Revolving loan facility                        
Debt Instrument [Line Items]                        
Debt instrument face amount     $ 120,000,000                  
Global liquidity requirement     $ 17,500,000.0 $ 22,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,300,000)              
Optional stock payment for interest removed | shares           250,000   250,000        
Maximum | Term loan facility | Term Loan [Member]                        
Debt Instrument [Line Items]                        
Interest Expense, Debt               $ 32,200,000        
Maximum | Convertible notes | Convertible Senior Notes Due 2020                        
Debt Instrument [Line Items]                        
Periodic payment, interest               800,000        
Maximum | Deerfield ELGX Revolver, LLC                        
Debt Instrument [Line Items]                        
Mandatory conversion of shares   $ 25,000,000.0                    
Minimum | Term loan facility | Term Loan [Member]                        
Debt Instrument [Line Items]                        
Interest Expense, Debt               5,000,000        
Minimum | Convertible notes | Convertible Senior Notes Due 2020                        
Debt Instrument [Line Items]                        
Periodic payment, interest               $ 700,000