Debt | Note 7. Debt Short-term line of credit On October 2, 2019, the Company entered into the Loan Agreement with Encina. Under the Loan Agreement, Encina will extend up to $25.0 million in secured revolving loans to the Company (the “Revolving Loans”), of which up to $2.5 million may be available for short-term swingline loans, against 85% of eligible accounts receivable. The Revolving Loans bear variable interest through maturity at the one-month London Interbank Offered Rate (“LIBOR”), plus an applicable margin of 4.50%. In addition, the Company is required to pay an unused line fee of 0.50% of the average unused portion of the maximum revolving facility amount during the immediately preceding month. Interest is payable monthly in arrears, upon a prepayment of a loan and on the maturity date. The maturity date under the Loan Agreement is May 11, 2022. In the event that, for any reason, all or any portion of the lenders' commitment to make revolving loans is terminated prior to the scheduled maturity date, in addition to the payment of the principal amount and all unpaid accrued interest and other amounts due thereon, the Company is required to pay to the lender a prepayment fee equal to (i) 2.0% of the revolving loan commitment if such event occurs on or before October 2, 2020, (ii) 1.0% of the revolving loan commitment if such event occurs after October 2, 2020 but on or before October 2, 2021, and (iii) 0.5% of the revolving loan commitment if such event occurs after October 2, 2021 but before May 11, 2022. The Company may permanently terminate the revolving loan facility by prepaying all outstanding principal amounts and all unpaid accrued interest and other amounts due thereon, subject to at least five The Loan Agreement contains customary affirmative covenants, negative covenants and events of default, as defined in the Loan Agreement, including covenants and restrictions that, among other things, require the Company to satisfy certain capital expenditure and other financial covenants, and restrict the Company’s ability to incur liens, incur additional indebtedness, engage in mergers and acquisitions or make asset sales without the prior written consent of the Lenders. A failure to comply with these covenants could permit the Lenders to declare the Company’s obligations under the Loan Agreement, together with accrued interest and fees, to be immediately due and payable, plus any applicable additional amounts relating to a prepayment or termination, as described above. As of September 30, 2020, the Company was in compliance with the covenants under the Loan Agreement. In connection with the Loan Agreement, the Company evaluated to determine if the embedded components in the agreement qualified as derivatives requiring separate recognition. This evaluation identified a derivative liability of $0.1 million for the fair value of the additional interest contingent upon a change in control. As of September 30, 2020, the fair value of the derivative was $36,000 (see Note 4). Total interest expense on the short-term line of credit, including deferred financing costs amortization, was $0.2 million and $0.7 million for the three and nine months ended September 30, 2020, respectively. The Company incurred $1.3 million in financing costs, which are recorded as deferred financing costs and amortized over the term of the revolving loan as additional interest expense using an effective interest rate of 6.56%. For the three and nine months ended September 30, 2020, deferred financing cost amortization of $0.2 million and $0.4 million, respectively, was charged to interest expense. The unamortized cost of $0.9 million as of September 30, 2020 was included in other assets in the condensed consolidated balance Sheets. As of September 30, 2020, the Company had $7.3 million borrowing outstanding under the Revolving Loan and had $5.5 million available for borrowing. Long-term debt Long-term debt at the indicated dates consists of the following: September 30, December 31, 2020 2019 (in thousands) Deerfield senior secured credit facility, net of discount of $2,538 and $1,982, respectively $ 32,837 $ 43,768 Financing leases, maturing through May 2024 355 1,167 33,192 44,935 Less current portion (19,472) (15,836) Long-term debt $ 13,720 $ 29,099 Senior secured credit facility : 66 2/3% 33 1/3% Principal on the Facility was due in three equal annual installments beginning in May 2019 and continuing through May 2021, with a final payment of principal, interest and all other obligations under the Facility due May 11, 2022. Interest is due quarterly beginning in June 2016, at a rate of 12.95% per year. The Company had an option, which it exercised, to defer payment of each of the first four interest payments, adding such amounts to the outstanding loan principal. The aggregate $6.6 million in deferred interest payments (the “Accrued Interest”) was due and payable on June 1, 2017. Borrowings under the Facility are collateralized by substantially all of the Company’s assets, except the assets under finance lease. The terms of the Facility require the Company to maintain cash on deposit of not less than $5.0 million. On June 1, 2017 (the “Amendment Date”), the Company and Deerfield entered into a First Amendment (the “Amendment”) to the Facility which extended the date to repay the Accrued Interest under the Facility to June 1, 2018 (the “PIK Maturity Date”), which could have been extended to June 1, 2019 at the election of the Company if certain conditions had been met as specified in the Amendment. The right to payment of the Accrued Interest was memorialized in the form of senior secured convertible notes (the “Convertible Notes”) issued to Deerfield on the Amendment Date. The $6.6 million of Convertible Notes was convertible into shares of the Company’s common stock at the noteholder’s option. On October 26, 2017, Deerfield provided a conversion notice electing to convert the entire $6.6 million of Convertible Notes into shares of the Company’s common stock at a conversion price of $7.08 per share. The conversion price was based on 95% of the average of the volume weighted average prices per share of the Company’s common stock on the NASDAQ Global Market for the three The Company has accounted for the Amendment as a debt modification as the instruments were not substantially different; therefore, the remaining debt discount on the original Facility is being amortized using the effective interest method over the remaining term of the modified debt. The Company evaluated the Amendment together with the Convertible Notes to determine if those contracts or embedded components of those contracts qualified as derivatives requiring separate recognition. This evaluation identified a derivative liability of $2.1 million for the fair value of the change in control and other accelerated payment features as the prepayment fees resulted in premiums that were greater than 10%. As of September 30, 2020, the fair value of the derivative was $1.4 million (see Note 4). As the change in control and other accelerated payments terms, including the prepayment fees, were applied to the entire debt per the terms of the amended Facility, the corresponding debt discount will be amortized using the effective interest method over the remaining term of the Facility. The fees paid to or on behalf of the creditor for the debt modification totaled $40,000 and were recorded as additional debt discount on the amended Facility to be amortized to interest expense using the effective interest method over the term of the Facility. The Company’s evaluation also determined that the embedded conversion options should not be bifurcated as derivatives from the Convertible Notes host instruments. Therefore, the Company recorded a $0.6 million discount to the convertible notes for the intrinsic value of the embedded conversion option based upon the difference between the fair value of the underlying common stock on June 1, 2017 and the effective conversion price embedded in the Convertible Notes, which was amortized using the effective interest method to interest expense over the one-year term of the Convertible Notes. The Company recorded a $0.6 million corresponding credit to a beneficial conversion feature classified as additional paid in capital on June 1, 2017 in stockholders’ (deficit) equity in the Company’s financial statements. In connection with the Facility, the Company paid a $1.4 million yield enhancement fee to Deerfield, approximately $0.2 million of legal costs to the Company’s attorneys and $0.1 million of legal costs on behalf of Deerfield’s attorneys, all of which were recorded as debt discount and amortized over the six-year term of the Facility, using the effective interest method. On November 5, 2018, the Company and Deerfield entered into an amendment (the “Second Amendment”) to the Facility pursuant to which the Company agreed to pay $7.5 million of principal under the Facility otherwise due in May 2019 upon completion of an underwritten public offering of the Company’s shares of its common stock for gross proceeds of at least $30.0 million, plus additional shares of the Company’s shares of its common stock for additional gross proceeds of at least $4.5 million (the “November Offering”). The remaining $52.5 million of principal under the Facility was and is due as follows: $7.5 million on May 11, 2019, $15.0 million on May 11, 2020 (the “2020 Principal Payment”), $15.0 million on May 11, 2021 and $15.0 million on May 11, 2022; provided, that the 2020 Principal Payment due date was to be extended to May 11, 2021 or May 11, 2022 subject to certain achievement of net sales during periods ending 2019 and 2020, respectively. The net sales milestone was not met for the period ending December 31, 2019. If all or any of the principal are prepaid or required to be prepaid under the Second Agreement prior to December 31, 2021, then the Company shall pay, in addition to such prepayment and accrued interest thereon, a prepayment premium equal to 6.25% of the amount of principal prepaid. Additionally, the Company shall pay all interest which, absent such prepayment, would have accrued on the principal prepaid through May 11, 2020 in connection with a prepayment due to a Change of Control of the Company or through December 31, 2020 in connection with any other prepayment, whether voluntary or in an Event of Default. If such prepayment occurs after December 31, 2021 then no prepayment premium is due. In addition, upon the payment in full of the Obligations (whether voluntarily, in the connection with a Change of Control or an Event of Default and whether before, at the time of or after the Maturity Date), the Company shall pay to Deerfield a non-refundable exit fee in the amount of $750,239, which shall be due and payable in cash. Pursuant to the terms of the Facility, as amended, a $7.5 million principal payment was paid in cash in May 2019. Pursuant to the Second Amendment, upon the effectiveness thereof, the Company amended and restated its outstanding notes under the Second Agreement in the form of senior secured convertible notes (the “A&R Notes”). Under the terms of the Second Amendment and the A&R Notes, beginning on or about May 11, 2019, the Company will have the right to pay principal and future interest in shares of Common Stock not to exceed 2,135,625 shares in the aggregate. The payment share price will be 93% of the lesser of (A) the Last Bid Price prior to the payment date and (B) the arithmetic average of the volume weighted average price on each of the ten consecutive trading days immediately preceding the payment date. Principal may not be satisfied at a price less than $3.00 per share, and the Company may not issue to Deerfield a number of shares upon any such payment to the extent that, upon such issuance, the number of shares beneficially owned by Deerfield and its affiliates would exceed 4.985% of the total number of shares of the Company’s common stock then issued and outstanding (the “4.985% Cap”). Additionally, Deerfield has the right to convert the remaining principal into shares of Common Stock not to exceed 3,796,668 shares in the aggregate (collectively, the “Conversion Shares”); provided, that the Lenders could have only converted up to 50% of the remaining principal on or before November 5, 2019. Deerfield’s per share conversion price will be 95% reducing to a maximum 83% by one full percentage point for each full or partial calendar month between the date of the applicable conversion and the date on which such principal payment would otherwise be due, of the greater of (A) the average of the volume weighted average prices per share of the Common Stock on the NASDAQ Global Market for the three trading day period immediately preceding such conversion, and (B) $10.00 (subject to adjustment for Stock Events e.g. stock dividend, stock split etc.) (the “Variable Price Conversion”). Deerfield may not acquire a number of shares upon any such conversion to the extent that, upon such conversion, the number of shares beneficially owned by Deerfield and its affiliates would exceed the 4.985% Cap. In conjunction with the Second Amendment to the Facility and the related issuance of the A&R Notes, the Company entered into a Registration Rights Agreement (the “Second Registration Agreement”) pursuant to which the Company was required to file a registration statement with the SEC to register the Conversion Shares within 30 days from November 5, 2018, which was to become effective per the SEC no later than 75 days thereafter. The filing deadline was subsequently extended to December 21, 2018. The Company filed a registration statement on Form S-3 to comply with the Second Registration Agreement on December 11, 2018, which became effective on December 20, 2018. This filing covered 3,796,668 shares, which is the maximum number of shares that may be converted. The Company is also required to, among other things, maintain the effectiveness of such registration statement, continue to file the required SEC filings on a timely basis, use its best efforts to ensure that the registered securities are listed on each securities exchange on which securities of the same class or series as issued by the Company are then listed and comply with any Financial Industry Regulatory Agency (“FINRA”) requests. The Company’s obligations with respect to each registration end at the date which is the earlier of (a) when all of the Registrable Securities covered by such registration have been sold or (b) when Deerfield or any of its transferees or assignees under the Second Registration Agreement cease to hold any Registrable Securities. For each registration, the Company shall bear all reasonable expenses, other than underwriting discounts and commissions, and shall reimburse Deerfield or any assignee or transferee for up to $25,000 in legal fees. The Company expects to satisfy all of its obligations under the Second Registration Agreement and does not expect to pay any damages pursuant to this agreement; therefore, no liability had been recorded (see Note 12). On October 2, 2019, in connection with the Loan Agreement with Encina, the Company entered into a fourth amendment to the Facility (the “Fourth Amendment”) with Deerfield. Under the Fourth Amendment, the Company restated its representations and warranties made under the Facility and made additional representations and warranties consistent with those in the Loan Agreement. In addition, the affirmative covenants, negative covenants and events of default contained in the Facility were expanded to conform to applicable provisions in the Loan Agreement. The Fourth Amendment was neither a modification nor an extinguishment and had no change in cash flows, and as such, it did not have a material effect on the Company’s financial statements. On May 6, 2020, the Company and Deerfield entered into an amendment (the “Fifth Amendment”) to the Facility pursuant to which the Company deferred $5.0 million of principal (“Deferred Principal”) otherwise due on May 11, 2020. The Company is required to pay the Deferred Principal in eight is reduced by principal converted during the previous calendar month. A $250,000 incremental exit fee (the “Additional Exit Payment”) will be due in cash when the Facility is paid in full. Pursuant to the terms of the Facility, as amended, a $10.0 million principal payment was paid in cash on May 11, 2020. The remaining $35.0 million of principal under the Facility is due as follows: $5.0 million in equal monthly installments of $625,000 which began in September 2020 and end in April 2021, $15.0 million on May 11, 2021 (the “2021 Principal Payment”) and $15.0 million on May 11, 2022 (the “2022 Principal Payment”). In addition, upon the payment in full of the Obligations (whether voluntarily, in the connection with a Change of Control or an Event of Default and whether before, at the time of or after the Maturity Date), the Company shall pay to Deerfield an additional non-refundable exit fee in the amount of $1,000,239 inclusive of the Additional Exit Payment, which shall be due and payable in cash. Pursuant to the Fifth Amendment, upon the effectiveness thereof, the Company amended and restated the Senior Secured Convertible Notes (as amended and restated, the “Convertible Notes”) to provide for the conversion of up to $10.0 million of the remaining principal due under the facility into the Company’s common stock at a conversion price of $1.50 per share (the “Fixed Price Conversion”). The ability to issue shares upon a Fixed Price Conversion is also subject to customary beneficial ownership caps as described in the Convertible Notes. The Convertible Notes retained the Variable Price Conversion for any additional conversions, which remain subject to customary beneficial ownership caps and exchange caps as described therein. The shares of common stock issuable upon the Fixed Price Conversion and the Variable Price Conversion are referred to herein as the “Conversion Shares”. The Company has accounted for the Fifth Amendment to the Facility Agreement and related Convertible Notes as a debt modification as the instruments were not substantially different; therefore, the remaining debt discount on the original Facility is being amortized using the effective interest method over the remaining term of the modified debt. The Company’s evaluation of the Fifth Amendment identified no new derivative liability for the fair value of the change in control and other accelerated payment features. However, the Company’s evaluation identified new embedded conversion options that should not be bifurcated as derivatives from the Convertible Notes host instruments. Therefore, the Company recorded a $1.7 million discount to the convertible notes for the incremental intrinsic value of the new embedded conversion option based upon the difference between the fair value of the underlying common stock on May 6, 2020 and the effective conversion price embedded in the Convertible Notes, which will be amortized using the effective interest method to interest expense over the remining term of the Convertible Notes. The Company recorded a $1.7 million corresponding credit to a fair value conversion feature on convertible notes classified as additional paid in capital on May 6, 2020 in stockholders’ (deficit) equity in the Company’s financial statements. The fees paid to or on behalf of the creditor for the debt modification totaled $36,000 and, together with the Additional Exit Payment of $250,000, were recorded as additional debt discount on the amended Facility to be amortized to interest expense using the effective interest method over the remaining term of the Facility. Pursuant to the A&R Notes, if the Company fails to provide the number of Conversion Shares, then the Company would have to pay damages to Deerfield or subsequent holder or any designee for each day after the third business day after receipt of notice of conversion that such conversion is not timely effected. The Facility also contains certain customary nonfinancial covenants, including limitations on the Company’s ability to transfer assets, engage in a change of control, merge or acquire with or into another entity, incur additional indebtedness and distribute assets to shareholders. Upon an event of default, the lenders may declare all outstanding obligations accrued under the Facility to be immediately due and payable, and exercise its security interests and other rights. As of September 30, 2020, the Company was in compliance with the covenants under the Facility. Total interest expense on the Facility, including debt discount amortization, was $1.7 million and $5.3 million for the three and nine months ended September 30, 2020, respectively, and $1.8 million and $5.8 million for the three and nine months ended September 30, 2019, respectively. Debt discount amortization for the Facility, including the Amendment after June 1, 2017, was calculated using the effective interest rates of 15.03% on the original facility debt and after the Fifth Amendment on May 6, 2020, using the effective interest rate of 21.3%, charged to interest expense and totaled $0.6 million and $1.4 million for the three and nine months ended September 30, 2020, respectively, and $0.3 million and $1.0 million for the three and nine months ended September 30, 2019, respectively. Financing lease obligations: Financing lease obligations consist of sale-leaseback and equipment leases, both of which included options to purchase at the end of the lease term. During the year ended December 31, 2017, the Company entered into an agreement with Essex Capital Corporation (“Essex”) for the sale-leaseback of newly acquired assets with a total capitalized cost of . Future principal payments of long-term debt including financing leases are as follows: Period ending: September 30, (in thousands) 2021 $ 19,472 2022 16,104 2023 92 2024 62 Future principal payments $ 35,730 Less unamortized debt discount related to long-term debt (2,538) Less current portion of long-term debt (19,472) Total long-term debt, net of current portion $ 13,720 |