Annual report pursuant to Section 13 and 15(d)

LONG-TERM DEBT - Narrative (Details)

v3.19.2
LONG-TERM DEBT - Narrative (Details)
1 Months Ended 3 Months Ended 6 Months Ended 9 Months Ended 12 Months Ended
Dec. 27, 2018
USD ($)
$ / shares
shares
Aug. 01, 2018
USD ($)
$ / shares
shares
Feb. 01, 2018
USD ($)
$ / shares
shares
Jun. 30, 2019
Nov. 30, 2017
Mar. 31, 2019
USD ($)
Dec. 31, 2018
USD ($)
Sep. 30, 2018
USD ($)
$ / shares
shares
Jun. 30, 2018
USD ($)
Mar. 31, 2018
USD ($)
Dec. 31, 2017
USD ($)
Sep. 30, 2017
USD ($)
Jun. 30, 2017
USD ($)
Dec. 31, 2012
USD ($)
$ / shares
Sep. 30, 2018
USD ($)
$ / shares
shares
Sep. 30, 2017
USD ($)
Jun. 30, 2017
USD ($)
Dec. 31, 2018
USD ($)
Dec. 31, 2017
USD ($)
Mar. 31, 2019
USD ($)
Mar. 31, 2018
USD ($)
Mar. 31, 2017
USD ($)
Dec. 28, 2018
USD ($)
Nov. 30, 2018
$ / shares
shares
Oct. 31, 2018
$ / shares
shares
Nov. 01, 2017
USD ($)
$ / shares
shares
Debt Instrument [Line Items]                                                    
Aggregate principal amount           $ 164,588,000       $ 123,531,000                   $ 164,588,000 $ 123,531,000   $ 150,000,000      
Debt issuance fees                           $ 2,300,000                        
Non-cash loss on debt extinguishment     $ 800,000     0 $ (5,033,000) $ (12,425,000) $ 0 $ (6,895,000) $ 0 $ (39,000) $ 0   $ (12,425,000) $ (39,000) $ (39,000) $ (17,458,000) $ (39,000) $ (17,458,000) (6,934,000) $ (41,000)        
Amount borrowed   $ 6,700,000                                                
Debt discount     100,000                                              
Line of credit facility, maximum borrowing amount $ 45,000,000                                                  
Variable interest rate       4.00%                                            
Line of credit facility, percent commitment fee on undrawn amounts                                       0.375%            
Cash repayments                         0     6,030,000     62,836,000   62,827,000          
Class of Warrant or Right, Number of Securities Called by Each Warrant or Right | shares                                                   132,000
Payments of debt extinguishment costs     700,000                                   $ 1,700,000          
Class of warrant and rights upto which warrants or rights are exercisable Dec. 27, 2028                                                  
Deferred finance costs net     $ 1,400,000                                              
Long-term Line of Credit             $ 137,073,000 $ 0 $ 112,255,000   $ 117,301,000 76,491,000 61,734,000   $ 0 76,491,000 61,734,000 $ 137,073,000 $ 117,301,000              
Adjustment                                                    
Debt Instrument [Line Items]                                                    
Non-cash loss on debt extinguishment                       0       0                    
Cash repayments                               30,000           $ (6,910,000)        
Long-term Line of Credit                       $ 5,860,000 $ 1,515,000     $ 5,860,000 $ 1,515,000                  
Remaining contingent warrant                                                    
Debt Instrument [Line Items]                                                    
Class Of Warrants Number Of Warrants Exercisable | shares                                                   700,000
Warrant                                                    
Debt Instrument [Line Items]                                                    
Loss on fair value adjustment                                       $ 400,000            
November 2017 Amendment                                                    
Debt Instrument [Line Items]                                                    
Line of credit facility, maximum borrowing amount                                                   $ 20,000,000
August 2018 Amendments of Warrants                                                    
Debt Instrument [Line Items]                                                    
Class of Warrant or Right, Number of Securities Called by Each Warrant or Right | shares   1,099,533                                                
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares   $ 2.11           $ 2.40             $ 2.40                 $ 2.40 $ 2.39  
Class of warrants and rights issued | shares   4,398,132                                                
Class of warrant and rights upto which warrants or rights are exercisable   Aug. 31, 2023                                                
Class of warrant or rights date from which warrants or rights exercisable   Feb. 01, 2019                                                
Class of warrants and rights date from which exercise price of warrants restated   Feb. 01, 2019                                                
Percentage of right to repurchase of warrants   50.00%                                                
Class of warrants and rights repurchase price per warrant | $ / shares   $ 0.001                                                
Class of warrants and rights number of warrants and rights repurchased | shares   549,766                                                
Payments for repurchase of warrants   $ 550,000                                                
Class of warrants or rights number of securities called by warrants | shares               1,099,533             1,099,533                 1,099,533 1,099,533  
August 2018 Amendments of Warrants | Adjustment                                                    
Debt Instrument [Line Items]                                                    
Fair Value Of Warrants Issued   5,600,000                                                
August 2018 Amendments of Warrants | Warrant | Other Income Expense                                                    
Debt Instrument [Line Items]                                                    
Derivative, Gain (Loss) on Derivative, Net   $ 400,000                                                
Registration Rights Agreement [Member]                                                    
Debt Instrument [Line Items]                                                    
Description Of Penalty Payable On Failure Of Registration                                       If the Company is unable to file and have a Form S-1 registration statement declared effective on the Registration Penalty Date (the “Filing Failure”), the Company is required to pay each holder of Term Loan Warrants an amount of cash equal to (i) $0.3 million multiplied by (ii) such holder’s pro rata share of all Term Loan Warrants (the “Registration Delay Payments”) on the day of a Registration Penalty Date and on every thirtieth day thereafter until such Filing Failure is cured. In the event the Company fails to make Registration Delay Payments in a timely manner, such Registration Delay Payments shall bear interest at 5.0% of such unpaid Registration Delay Payment until paid in ful1. The Company expects to meet all registration requirements and has determined that such a payment under the Registration Rights Agreement was not probable at the time the agreement was entered into, nor did such a payment become probable prior to or as of March 31, 2019.            
August 2018                                                    
Debt Instrument [Line Items]                                                    
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares   $ 1.62                                                
Minimum                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate       2.50%                                            
Maximum                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate       3.50%                                            
Prime rate quoted by the Wall Street Journal                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate 9.00%                                                  
LIBOR rate plus senior net leverage ratio                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate 10.00%                                                  
TCW term loan facility                                                    
Debt Instrument [Line Items]                                                    
Stated interest rate (as a percent)                   12.60%                     12.60%          
TCW term loan facility | November 2017 Amendment                                                    
Debt Instrument [Line Items]                                                    
Class of Warrant or Right, Number of Securities Called by Each Warrant or Right | shares                                                   330,000
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares                                                   $ 0.01
Class Of Warrants Number Of Warrants Exercised | shares                                                   198,000
Class Of Warrants Number Of Warrants Exercisable | shares                                                   132,000
Adjustment To Additional Paid In Capital Warrant Issued                                                   $ 1,100,000
Amendment Modification Description         The Company determined that the November 2017 Amendment was a modification of both the TCW Term Loan and PNC Credit Facility. In connection with this modification, the Company incurred $2.6 million in costs related to the TCW Term Loan (including $1.8 million related to the value of the November 2017 Amendment Warrants) and $0.8 million cash paid to TCW. These debt issuance costs were reflected as a reduction of the carrying amount of the TCW Term Loan and amortized to interest expense over the term of the TCW Term Loan. The Company also incurred $0.2 million in costs related to the amendment of the PNC Credit Facility which was recorded to other current assets and other assets and amortized to interest expense over the term of the PNC Credit Facility. Approximately $0.3 million in third party costs were expensed as incurred related to the November 2017 Amendment.                                          
TCW term loan facility | November 2017 Amendment | Warrant                                                    
Debt Instrument [Line Items]                                                    
Warrant Liability                                                   $ 1,800,000
TCW term loan facility | 2018 Credit Agreement                                                    
Debt Instrument [Line Items]                                                    
Percentage of interest on debt in kind     2.00%                                              
TCW term loan facility | February 2018 Amendment                                                    
Debt Instrument [Line Items]                                                    
Non-cash loss on debt extinguishment                                         $ 6,900,000          
Debt discount                   $ 3,800,000                     3,800,000          
Class of Warrant or Right, Number of Securities Called by Each Warrant or Right | shares     150,000                                              
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares     $ 0.01                                              
Class Of Warrants Number Of Warrants Exercised | shares     75,000                                              
Class Of Warrants Number Of Warrants Exercisable | shares     75,000                                              
Payments of debt extinguishment costs                                         3,100,000          
TCW term loan facility | February 2018 Amendment | Remaining contingent warrant                                                    
Debt Instrument [Line Items]                                                    
Class Of Warrants Number Of Warrants Exercisable | shares     300,000                                              
Class of warrants or rights number of securities called by warrants | shares     75,000                                              
TCW term loan facility | February 2018 Amendment | Non Contingent Warrant                                                    
Debt Instrument [Line Items]                                                    
Class of Warrant or Right, Number of Securities Called by Each Warrant or Right | shares     75,000                                              
Fair Value Of Warrants Issued     $ 300,000                                              
TCW term loan facility | February 2018 Amendment | Warrant                                                    
Debt Instrument [Line Items]                                                    
Fair value of warrants     $ 600,000                                              
TCW term loan facility | February 2018 Amendment of Warrants                                                    
Debt Instrument [Line Items]                                                    
Payments of debt extinguishment costs                                         600,000          
TCW term loan facility | August 2018 Credit Agreements                                                    
Debt Instrument [Line Items]                                                    
Non-cash loss on debt extinguishment           $ 1,800,000                             14,900,000          
TCW term loan facility | August 2018 Amendments of Warrants                                                    
Debt Instrument [Line Items]                                                    
Deferred finance costs net                   $ 5,700,000                     $ 5,700,000          
TCW term loan facility | Minimum | November 2017 Amendment                                                    
Debt Instrument [Line Items]                                                    
Class of Warrant or Right, Number of Securities Called by Each Warrant or Right | shares                                                   198,000
Additional borrowings | November 2017 Amendment                                                    
Debt Instrument [Line Items]                                                    
Line of credit facility, maximum borrowing amount                                                   $ 20,000,000
PNC credit facility                                                    
Debt Instrument [Line Items]                                                    
Stated interest rate (as a percent)                   7.10%                     7.10%          
Variable interest rate       3.00%                                            
PNC credit facility | 2018 Credit Agreement                                                    
Debt Instrument [Line Items]                                                    
Debt instrument restrictive covenants     allow for the release of $7.0 million in restricted cash required under the terms of the PNC Credit Facility, and (C) modify certain covenants associated with the Credit Agreements                                              
PNC credit facility | February 2018 Amendment of Warrants | Other Current Assets | Interest Expense                                                    
Debt Instrument [Line Items]                                                    
Payments of debt extinguishment costs                                         $ 600,000          
PNC credit facility | Minimum                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate       3.50%                                            
PNC credit facility | Maximum                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate       4.50%                                            
PNC credit facility | Base rate                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate       0.50%                                            
PNC credit facility | LIBOR rate plus senior net leverage ratio                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate       1.00%                                            
Additional incremental delayed term loan | August 2018 Credit Agreements                                                    
Debt Instrument [Line Items]                                                    
Line of credit facility, maximum borrowing amount   $ 20,000,000                                                
Senior secured term loan and amended PNC credit facility | Senior secured term loan agreement                                                    
Debt Instrument [Line Items]                                                    
Class of Warrant or Right, Number of Securities Called by Each Warrant or Right | shares 7,110,616                                                  
Class of Warrant or Right, Exercise Price of Warrants or Rights | $ / shares $ 1.33                                                  
Deferred finance costs net $ 18,300,000                                                  
Senior secured term loan and amended PNC credit facility | Senior secured term loan agreement | Warrant | Accounting Standards Update 2017-11 [Member]                                                    
Debt Instrument [Line Items]                                                    
Warrant Liability 8,800,000                                                  
Senior secured term loan and amended PNC credit facility | Senior secured term loan warrants agreement                                                    
Debt Instrument [Line Items]                                                    
Deferred finance costs net $ 8,800,000                                                  
Debt instrument covenant description The December 2018 Credit Agreements contain certain covenants, including requirements to prepay the loans in an amount equal to 100% of the net cash proceeds from certain assets dispositions, subject to certain reinvestment rights and other exceptions and equity issuances. Amounts outstanding under the December 2018 Credit Agreements may become due and payable upon the occurrence of specified events, which among other things include (subject to certain exceptions and cure periods) (i) failure to pay principal, interest, or any fees when due, (ii) breach of any representation or warranty, covenant, or other agreement, (iii) the occurrence of a bankruptcy or insolvency proceeding with respect to the Company or any of its subsidiaries, (iv) any event of default with respect to other indebtedness involving an aggregate amount of $1.0 million or more, (v) any lien created by the December 2018 Credit Agreements or any related security documents ceasing to be valid and perfected; (vi) the December 2018 Credit Agreements or any related security documents or guarantees ceasing to be legal, valid, and binding upon the parties thereto; or a change of control shall occur. The December 2018 Credit Agreements contain financial covenants relating to a fixed charge coverage ratio, minimum EBITDA and minimum liquidity. The Amended PNC Credit Facility also includes a total net leverage ratio and total leverage ratio covenants. As of March 31, 2019, the Company was in compliance with all covenants.                                                  
Debt instrument payment terms The Senior Secured Term Loan contains a prepayment penalty which is calculated based on (i) if prepayment occurs prior to 30-month anniversary of the Closing Date, the prepayment penalty is the present value of all required interest payments due on the Senior Secured Term Loan that are prepaid from the date of prepayment through and including the 30-month anniversary of the Closing Date calculated based on the 3 month LIBOR Rate plus 10%, plus 5.0% of the amount of principal prepaid, (ii) if prepayment occurs between the 30-month anniversary of Closing Date through the third anniversary of the Closing Date, the prepayment penalty is 5.0% of the principal prepaid and (iii) if prepayment occurs between the third anniversary of the Closing Date through the fourth anniversary of Closing Date, the prepayment penalty is 2.0% of the principal prepaid (the "Prepayment Penalty"). There is no Prepayment Penalty after the fourth anniversary of the Closing Date. In addition to the Prepayment Penalty under the terms of the Senior Secured Term Loan, the Company is permitted to prepay up to 25% of the aggregate principal amount of the outstanding Senior Secured Term Loan balance with cash proceeds of a public offering of the Company's common stock at a prepayment premium of 12% of the principal amount being repaid.                                                  
Amended PNC credit facility                                                    
Debt Instrument [Line Items]                                                    
Stated interest rate (as a percent)           8.50%                           8.50%            
Debt instrument restrictive covenants                                       As of March 31, 2019, the Company was required to maintain a $5.0 million restricted cash reserve as part of the Amended PNC Credit Facility. This balance is presented as long-term restricted cash within the accompanying consolidated balance sheet as of March 31, 2019            
Long-term Line of Credit           $ 0                           $ 0            
Line of Credit Facility, Remaining Borrowing Capacity           $ 18,900,000                           $ 18,900,000            
4.50% convertible subordinated debt                                                    
Debt Instrument [Line Items]                                                    
Stated interest rate (as a percent)                   4.50%                     4.50% 4.50%        
Extinguishment of debt                                           $ 6,800,000        
Non-cash loss on debt extinguishment                                         $ 100,000 100,000        
Cash repayments                                         6,000,000 $ 6,900,000        
Senior Secured term loan [Member]                                                    
Debt Instrument [Line Items]                                                    
Stated interest rate (as a percent)           12.60%                           12.60%            
Percentage of Repayment Debt 0.25%                                                  
Senior Secured term loan [Member] | US Bank National Association [Member]                                                    
Debt Instrument [Line Items]                                                    
Proceeds from Issuance of Secured Debt $ 15,000,000                                                  
4.50% convertible subordinated notes                                                    
Debt Instrument [Line Items]                                                    
Aggregate principal amount                   $ 6,000,000       $ 70,000,000             6,000,000          
Stated interest rate (as a percent)                           4.50%                        
Conversion ratio                           75.896                        
Conversion ratio applied per principal amount                           $ 1,000                        
Conversion price (usd per share) | $ / shares                           $ 13.20                        
Term loan agreement                                                    
Debt Instrument [Line Items]                                                    
Prepayment penalty percentage         5.00%                                          
Term loan agreement | August 2018                                                    
Debt Instrument [Line Items]                                                    
Debt instrument maturity date   Jan. 31, 2019                                                
Term loan agreement | Federal funds rate                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate                                       0.50%            
Term loan agreement | One month LIBOR                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate                                       1.00%            
Term loan agreement | Base rate                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate                                       3.00%            
Term loan agreement | Prime rate quoted by the Wall Street Journal | Minimum                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate                                       6.00%            
Term loan agreement | Prime rate quoted by the Wall Street Journal | Maximum                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate                                       7.25%            
Term loan agreement | LIBOR rate plus senior net leverage ratio | Minimum                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate                                       7.00%            
Term loan agreement | LIBOR rate plus senior net leverage ratio | Maximum                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate                                       8.25%            
Revolving credit agreement                                                    
Debt Instrument [Line Items]                                                    
Aggregate principal amount                   $ 33,107,000                     $ 33,107,000          
Revolving credit agreement | Federal funds rate                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate                                       0.50%            
Revolving credit agreement | One month LIBOR                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate                                       1.00%            
Revolving credit agreement | One month LIBOR | Minimum                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate                                       1.50%            
Revolving credit agreement | One month LIBOR | Maximum                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate                                       2.50%            
Senior Term Loan [Member]                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate 3.00%                                                  
Senior Term Loan [Member] | Federal funds rate                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate 0.50%                                                  
Senior Term Loan [Member] | One month LIBOR                                                    
Debt Instrument [Line Items]                                                    
Variable interest rate 1.00%