XML 60 R49.htm IDEA: XBRL DOCUMENT v3.19.1
Debt - Narrative (Details) - USD ($)
1 Months Ended 2 Months Ended 3 Months Ended
Dec. 21, 2018
Dec. 13, 2018
Apr. 27, 2018
Apr. 30, 2019
Jan. 31, 2019
Dec. 31, 2018
Feb. 28, 2019
Mar. 31, 2019
Mar. 31, 2018
Dec. 22, 2014
Dec. 16, 2014
Debt Instrument [Line Items]                      
Non cash interest expense               $ 2,020,000 $ 0    
Partial extinguishment of equity component               7,600,000      
Partial extinguishment of Convertible 3.75% Senior Notes               185,000 0    
Proceeds from Revolver               5,000,000 $ 0    
Term Loan                      
Debt Instrument [Line Items]                      
Debt issuance costs   $ 500,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           $ 15,000,000   20,000,000      
Debt issuance costs   300,000                  
Unamortized discount   500,000                  
Proceeds from Revolver   15,000,000.0     $ 5,000,000.0            
Line of credit maximum borrowing capacity   $ 25,000,000.0                  
Interest rate at period end           9.30%          
Line of Credit | Revolving Credit Facility | Subsequent Event                      
Debt Instrument [Line Items]                      
Proceeds from Revolver       $ 5,000,000.0              
Line of Credit | Revolving Credit Facility | Base Rate                      
Debt Instrument [Line Items]                      
Basis spread on variable rate   2.75%                  
Line of Credit | Revolving Credit Facility | London Interbank Offered Rate (LIBOR)                      
Debt Instrument [Line Items]                      
Basis spread on variable rate   3.75%                  
Line of Credit | Term Loan                      
Debt Instrument [Line Items]                      
Interest rate, effective percentage           12.40%          
Unused borrowing capacity, fee percentage   1.00%                  
Line of Credit | Term Loan | Base Rate                      
Debt Instrument [Line Items]                      
Basis spread on variable rate   7.75%                  
Line of Credit | Term Loan | London Interbank Offered Rate (LIBOR)                      
Debt Instrument [Line Items]                      
Basis spread on variable rate   8.75%                  
Qualified Institutional Buyers                      
Debt Instrument [Line Items]                      
Face amount of the Notes                   $ 18,750,000 $ 125,000,000.0
Convertible Note 2019                      
Debt Instrument [Line Items]                      
Non cash interest expense               2,500,000      
Convertible Note 2019 | Convertible Notes Payable                      
Debt Instrument [Line Items]                      
Stated interest rate                   3.75% 3.75%
Debt, transfer     $ 75,100,000                
Partial extinguishment of Convertible 3.75% Senior Notes     $ 75,100,000                
Convertible Note 2023 | Convertible Notes Payable                      
Debt Instrument [Line Items]                      
Stated interest rate     4.75%                
Debt, transfer     $ 75,100,000                
Initial conversion price (dollars per share)     $ 224.71                
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%                
Senior Notes, due December 2019                      
Debt Instrument [Line Items]                      
Partial extinguishment of equity component           $ (2,900,000)          
Loss on extinguishment of debt           1,700,000 $ 200,000        
Senior Notes, due December 2019 | Convertible Notes Payable                      
Debt Instrument [Line Items]                      
Face amount of the Notes           $ 75,090,000   $ 75,090,000      
Stated interest rate           4.75%   4.75%      
Transaction costs           $ 300,000          
Repayments of notes             $ 2,700,000        
2023 Term Loan | Line of Credit | Term Loan                      
Debt Instrument [Line Items]                      
Face amount of the Notes   $ 50,000,000.0       $ 70,000,000   $ 72,020,000      
Increase to principal balance               $ 2,000,000.0      
Delayed Draw Term Loan A | Term Loan                      
Debt Instrument [Line Items]                      
Debt issuance costs   800,000                  
Unamortized discount   1,800,000                  
Amount drawn $ 20,000,000.0                    
Delayed Draw Term Loan A | Line of Credit | Term Loan                      
Debt Instrument [Line Items]                      
Face amount of the Notes   30,000,000.0                  
Delayed Draw Term Loan B | Line of Credit | Term Loan                      
Debt Instrument [Line Items]                      
Face amount of the Notes   $ 15,000,000.0                  
2023 Term Loan and 2023 Delayed Draw Term Loan | Term Loan | Base Rate | Subsequent Event                      
Debt Instrument [Line Items]                      
Basis spread on variable rate       7.75%              
2023 Term Loan and 2023 Delayed Draw Term Loan | Term Loan | London Interbank Offered Rate (LIBOR) | Subsequent Event                      
Debt Instrument [Line Items]                      
Basis spread on variable rate       8.75%