XML 125 R52.htm IDEA: XBRL DOCUMENT v3.20.1
Debt - Narrative (Details) - USD ($)
1 Months Ended 3 Months Ended 12 Months Ended
Oct. 31, 2019
Sep. 18, 2019
Dec. 21, 2018
Dec. 13, 2018
Jun. 01, 2018
Apr. 27, 2018
Dec. 31, 2019
Nov. 30, 2019
Apr. 30, 2019
Jan. 31, 2019
Dec. 31, 2018
Mar. 31, 2019
Dec. 31, 2019
Dec. 31, 2018
Dec. 22, 2014
Dec. 16, 2014
Debt Instrument [Line Items]                                
Proceeds from revolver                         $ 12,500,000 $ 15,000,000    
Loss on debt restructuring                         920,000 0    
Derivative liability $ 13,545,000           $ 6,776,000       $ 0   6,776,000 0    
Expiration of debt                         0 1,315,000    
2023 Series A Unsecured Convertible Notes for Series B Senior Unsecured Convertible Notes                                
Debt Instrument [Line Items]                                
Debt issuance costs             1,400,000           1,400,000      
Loss on debt restructuring                         900,000      
Original derivative amount, before re-measurement             13,500,000           13,500,000      
Derivative liability             6,800,000           6,800,000      
Gain on change in fair value of derivatives                         6,800,000      
Line of Credit                                
Debt Instrument [Line Items]                                
Proceeds from revolver                     52,800,000          
Covenant, revenue required to attain                         125,000,000.0      
Line of Credit | Revolving Credit Facility                                
Debt Instrument [Line Items]                                
Face amount of the Notes             $ 25,000,000       $ 15,000,000   $ 25,000,000 $ 15,000,000    
Debt issuance costs       $ 300,000                        
Unamortized discount       500,000                        
Proceeds from revolver   $ 2,500,000   15,000,000.0         $ 5,000,000.0 $ 5,000,000.0            
Line of credit maximum borrowing capacity       25,000,000.0                        
Repayment fee               $ 100,000                
Line of Credit | Revolving Credit Facility | Minimum                                
Debt Instrument [Line Items]                                
Interest rate, effective percentage             6.20%           6.20%      
Line of Credit | Revolving Credit Facility | Maximum                                
Debt Instrument [Line Items]                                
Interest rate, effective percentage             9.10%           9.10%      
Line of Credit | Revolving Credit Facility | LIBOR                                
Debt Instrument [Line Items]                                
Applicable margin                         3.75%      
Line of Credit | Revolving Credit Facility | Base Rate                                
Debt Instrument [Line Items]                                
Applicable margin                         2.75%      
Line of Credit | Term Loan                                
Debt Instrument [Line Items]                                
Debt issuance costs       800,000                        
Unamortized discount       1,800,000                        
Line of Credit | Term Loan | LIBOR                                
Debt Instrument [Line Items]                                
Applicable margin                         8.75%      
Line of Credit | Term Loan | Base Rate                                
Debt Instrument [Line Items]                                
Applicable margin                         7.75%      
Convertible debt                                
Debt Instrument [Line Items]                                
Stated interest rate             3.75%       3.75%   3.75% 3.75%    
Initial Issuance | Convertible debt                                
Debt Instrument [Line Items]                                
Face amount of the Notes                               $ 125,000,000.0
Additional Principal | Convertible debt                                
Debt Instrument [Line Items]                                
Face amount of the Notes                             $ 18,750,000  
Senior Notes, due December 2019                                
Debt Instrument [Line Items]                                
Loss on debt extinguishment                     $ 1,700,000   $ 200,000      
Reduction of Additional Paid in Capital                     (2,900,000)          
Senior Notes, due December 2019 | Convertible debt                                
Debt Instrument [Line Items]                                
Proceeds from convertible debt 29,300,000                              
Senior Notes, due December 2019 | Convertible debt                                
Debt Instrument [Line Items]                                
Face amount of the Notes             $ 66,090,000       $ 75,090,000   $ 66,090,000 $ 75,090,000    
Stated interest rate             4.75%       4.75%   4.75% 4.75%    
Debt transfer amount           $ 75,100,000                    
Loss on debt extinguishment                         $ 2,500,000      
Reduction of Additional Paid in Capital                         (7,600,000)      
Transaction costs                     $ 300,000          
Repayment of term loan                       $ 2,700,000 $ 13,000,000.0      
Senior Notes, Due 2023                                
Debt Instrument [Line Items]                                
Effective interest rate             27.40%           27.40%      
Senior Notes, Due 2023 | Convertible debt                                
Debt Instrument [Line Items]                                
Stated interest rate           4.75%         4.75%     4.75%    
Conversion price (in dollars per share)           $ 4.45                    
Settlement conversion price (dollars per share)           $ 280.90                    
Debt issuance costs           $ 1,600,000                    
Unamortized discount           $ 19,000,000.0                    
Interest rate, effective percentage           11.90%                    
Series B Senior Unsecured Convertible Notes | Convertible debt                                
Debt Instrument [Line Items]                                
Face amount of the Notes $ 34,405,000           $ 34,405,000           $ 34,405,000      
Stated interest rate 7.00%                              
Conversion price (in dollars per share) $ 0.72           $ 0.72           $ 0.72      
Debt issuance costs $ 2,300,000                              
Proceeds from convertible debt $ 34,400,000                              
PIK interest, percentage 8.00%                              
Net proceeds from the financing $ 26,900,000                              
Series B Senior Unsecured Convertible Notes | Convertible debt | 2023 Series A Unsecured Convertible Notes for Series B Senior Unsecured Convertible Notes                                
Debt Instrument [Line Items]                                
Debt issuance costs             $ 200,000           $ 200,000      
Debt conversion, converted instrument 5,100,000                       5,100,000      
Carrying value of original debt             7,200,000           7,200,000      
Fair value of embedded derivative liability             2,000,000.0           2,000,000.0      
Future undiscounted cash flows             6,800,000           6,800,000      
Series A Unsecured Convertible Notes due 2023 | Convertible debt | 2023 Series A Unsecured Convertible Notes for Series B Senior Unsecured Convertible Notes                                
Debt Instrument [Line Items]                                
Debt conversion, original amount $ 9,000,000.0                       9,000,000.0      
Term Loan, due 2021                                
Debt Instrument [Line Items]                                
Face amount of the Notes         $ 25,000,000.0                      
Debt issuance costs         500,000                      
Unamortized discount         400,000                      
Loss on debt extinguishment                         $ 1,300,000      
Proceeds from revolver         $ 15,000,000.0                      
Transaction costs                     $ 500,000          
Repayment of term loan                     25,600,000          
Repayments of long-term debt, interest                     100,000          
Initial Term Loan                                
Debt Instrument [Line Items]                                
Paid-in-kind interest option, term                         24 months      
Paid-in-kind option, increase to principal balance                         $ 8,500,000      
Initial Term Loan | Term Loan                                
Debt Instrument [Line Items]                                
Face amount of the Notes             88,464,000       $ 70,000,000   $ 88,464,000 $ 70,000,000    
Initial Term Loan | Line of Credit | Term Loan                                
Debt Instrument [Line Items]                                
Face amount of the Notes       50,000,000.0                        
Delayed Draw Term Loan A | Term Loan                                
Debt Instrument [Line Items]                                
Debt issuance costs       500,000                        
Proceeds from revolver             $ 10,000,000.0                  
Amount drawn on term loan     $ 20,000,000.0                          
Delayed Draw Term Loan A | Term Loan | Minimum                                
Debt Instrument [Line Items]                                
Interest rate, effective percentage             9.10%           9.10%      
Delayed Draw Term Loan A | Term Loan | Maximum                                
Debt Instrument [Line Items]                                
Interest rate, effective percentage             12.20%           12.20%      
Delayed Draw Term Loan B | Line of Credit | Term Loan                                
Debt Instrument [Line Items]                                
Face amount of the Notes       $ 15,000,000.0                        
Carrying value of original debt             $ 88,500,000           $ 88,500,000      
Expiration of debt             $ 15,000,000.0