Debt | Note 11. 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 business days prior notice to the lender and the payment of a prepayment fee as described above. 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 December 31, 2019, 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 $69,000 for the fair value of the additional interest contingent upon a change in control. As of December 31, 2019, the fair value of the derivative was $66,000 (see Note 4). Total interest expense on the short-term line of credit, including deferred financing costs amortization, was $184,000 for the year ended December 31, 2019. 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%. During the year ended December 31, 2019, deferred financing cost amortization of $116,000 was charged to interest expense. The unamortized cost of $1.2 million as of December 31, 2019 was included in other assets in the consolidated balance Sheets. As of December 31, 2019, the Company had no borrowing outstanding under the Revolving Loan and had $17.1 million available for borrowing. Long-term debt Long-term debt at the indicated dates consists of the following: December 31, 2019 2018 (in thousands) Deerfield senior secured credit facility, net of discount of $1,982 and $3,334, respectively $ 43,768 $ 49,916 Financing and capital leases, maturing through May 2024 1,167 1,858 44,935 51,774 Less current portion (15,836) (8,557) Long-term debt $ 29,099 $ 43,217 Senior secured credit facility: On May 11, 2016, the Company entered into a $60.0 million senior secured credit facility (the “Facility”) with Deerfield Private Design Fund III, L.P. (66 2/3% of Facility) and Deerfield Special Situations Fund, L.P. (33 1/3% of Facility) (collectively, “Deerfield”), as lenders. In February 2017, the Company closed an underwritten public offering of 5,750,000 shares of its common stock at a public offering price of $5.00 per share (see Note 13). Deerfield, the Company’s senior lender, participated in the purchase of the Company’s common shares as part of this public offering, and as a result, was classified as a related party at the time of the corresponding transactions. 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 capital 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. However, as described below, the accrued interest amount was converted into shares of common stock. 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. Interest was due quarterly at a rate of 12.95% per year. The principal amount of the Convertible Notes issued under the Amendment and all accrued and unpaid interest thereon was to become due and payable upon written notice from Deerfield, and if either (a) the Company did not meet certain quarterly sales milestones specified in the Amendment or (b) the Company had not received and publicly announced FDA approval of the new drug applications on or before the applicable Prescription Drug User Fee Act goal date as set forth on the schedules to the Amendment. Per the Amendment, the Company will prepay all of the outstanding obligations under the Facility and the Convertible Notes upon the occurrence of a change in control or a sale of substantially all of the Company’s assets and liabilities. The Amendment increased the staggered prepayment fees for prepayments due upon a change of control or any other prepayment made or required to be made by the Company by 300 basis points from June 1, 2017 through the period ending prior to May 11, 2020 for the change in control prepayment fees and through the period ending prior to May 11, 2022 for any other prepayments, respectively (the “Prepayment Premiums”). Such Prepayment Premiums, as amended, ranged from 12.75% to 2%. The $6.6 million of Convertible Notes was convertible into shares of the Company’s common stock at the noteholder’s option at any time up to the close of business on the date that was five days prior to the PIK Maturity Date. The per share conversion price was the greater of (a) 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 trading day period immediately preceding such conversion, and (b) $7.00. Deerfield cannot own more than 9.985% of the Company’s outstanding shares at any one time, and the aggregate conversion cannot exceed 19.9% of the Company’s outstanding common stock as of June 1, 2017. 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 trading day period immediately preceding such conversion. This resulted in issuing 929,967 shares of the Company’s common stock to Deerfield on this date and the Convertible Notes were cancelled. The Company has filed a registration statement with the SEC covering the registration of these shares, as noted below. In conjunction with the Amendment to the Facility and the related issuance of the Convertible Notes, the Company entered into a Registration Rights Agreement (the “Registration Agreement”) which required the Company to file a registration statement with the SEC to register the shares of common stock issued or issuable upon conversion of the Convertible Notes (the “Conversion Shares”) (subject to certain adjustment for stock split, dividend or other distribution, recapitalization or similar events, the “Registrable Securities”) within 30 days from June 1, 2017, which was to become effective per the SEC no later than 75 days thereafter. The Company filed a registration statement on Form S-3 to comply with the Registration Agreement on June 30, 2017, which became effective on July 11, 2017. This filing covered 940,924 shares, which is the number of shares that would be issued at the floor conversion rate of $7.00 per share. The Company was 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 Authority (“FINRA”) requests. The Company’s obligations with respect to each registration end at the date which was 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 Registration Agreement cease to hold any Registrable Securities. For each registration, the Company bore all reasonable expenses, other than underwriting discounts and commissions, and was to reimburse Deerfield or any assignee or transferee for up to $25,000 in legal fees. The Company had satisfied all of its obligations under this Registration Agreement and did not pay any damages pursuant to this agreement; therefore, no liability had been recorded (see Note 13), and as of September 30, 2018, Deerfield or any of its transferees or assignees under the Registration Agreement reported that it had ceased to hold any Registrable Securities. 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 December 31, 2019, the fair value of the derivative was $1.1 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,350,000 yield enhancement fee to Deerfield, approximately $173,000 of legal costs to the Company’s attorneys and $58,000 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 shall be extended to May 11, 2021 or May 11, 2022 subject to certain achievement of annual net sales during periods ending December 31, 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, Pursuant to the term of the Facility, as amended, a $7.5 million principal payment was paid in cash in May 2019 and, the remaining principal outstanding as of December 31, 2019 was $45.0 million. 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 “ 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 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 did not expect to pay any damages pursuant to this agreement; therefore, no liability had been recorded (see Note 16). 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. 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 December 31, 2019, the Company was in compliance with the covenants under the Facility. Total interest expense on the Facility, including debt discount amortization, was $7,620,000, $8,693,000 and $9,882,000 for the year ended December 31, 2019, 2018 and 2017, 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 25.35% on the Convertible Notes and after the Second Amendment on November 5, 2018, using the effective interest rate of 16.69%, charged to interest expense and totaled $1,353,000, $961,000 and $1,316,000 for the years ended December 31, 2019, 2018 and 2017, respectively. Financing and Capital lease obligations: Financing and capital lease obligations consist of sale-leaseback and equipment leases, both of which include options to purchase and were classified as finance leases as of December 31, 2019 and capital leases as of December 31, 2018. As described in Note 7, during the years ended December 31, 2017, the Company entered into agreements with Essex for the sale‑leaseback of newly acquired assets with a total capitalized cost of $3.2 million. The approximate imputed interest rate on these leases is 14.9%. In addition, during the year ended December 31, 2019 and 2018, the Company entered into equipment leases with a total capitalized cost of $0.4 million and $0.1 million, respectively. The interest rate on these leases is 6.5% and 5.3%, respectively. Interest expense on these leases was $214,000, $341,000 and $263,000 for the years ended December 31, 2019, 2018 and 2017, respectively. Future principal payments of long-term debt, including financing leases, are as follows: Period ending: December 31, (in thousands) 2020 $ 15,836 2021 15,099 2022 15,854 2023 89 2024 39 Future principal payments $ 46,917 Less unamortized debt discount (1,982) Less current portion of long-term debt (15,836) Total long-term debt, net of current portion $ 29,099 |