Debt
12 Months Ended
Dec. 31, 2018
Debt  
Debt

6. Debt

Long‑term debt consisted of the following (in thousands):

 

 

 

 

 

 

 

 

 

December 31, 

 

    

2018

    

2017

Principal amount of long‑term debt

 

$

25,000

 

$

5,500

Less: Current portion of long‑term debt

 

 

 —

 

 

(2,139)

Long‑term debt, net of current portion

 

 

25,000

 

 

3,361

Debt discount

 

 

(653)

 

 

(59)

Long‑term debt, net of discount and current portion

 

$

24,347

 

$

3,302

 

2015 Credit Facility

The Company was party to a loan and security agreement, as amended (the “2015 Credit Facility”), under which the Company had borrowed an aggregate of $5.5 million. Until May 2018, borrowings under the 2015 Credit Facility bore interest at an annual rate equal to the bank’s prime rate plus 1.25%, subject to a floor of 4.5%,  and were repayable in monthly interest-only payments through May 2018 and in equal monthly payments of principal plus accrued interest from June 2018 until the maturity date in November 2019.

In May 2018, the Company further amended the 2015 Credit Facility to modify the interest rate and extend the interest-only payment period and the maturity date. Subsequent to this amendment, outstanding borrowings under the 2015 Credit Facility bear interest at an annual rate equal to the bank’s prime rate plus 0.75%, subject to a floor of 5.5%, and were repayable in monthly interest-only payments through May 2019 and in equal monthly payments of principal plus accrued interest from June 2019 until the maturity date in November 2020.

The May 2018 amendment to the 2015 Credit Facility was accounted for as a debt modification, rather than a debt extinguishment, based on a comparison of the present value of the cash flows under the terms of the debt immediately before and after the amendment, which resulted in a change of less than 10%. As a result, issuance costs paid to the lender in connection with the amendment were recorded as a reduction of the carrying amount of the debt liability and were not significant. Unamortized issuance costs as of the date of the modification were amortized to interest expense using the effective interest method over the revised repayment term. Issuance costs paid to third parties were recorded as expense and were not significant.

Borrowings under the 2015 Credit Facility were collateralized by substantially all of the Company’s personal property, other than its intellectual property. There were no financial covenants associated with the 2015 Credit Facility; however, the Company was subject to certain affirmative and negative covenants restricting the Company’s activities, including limitations on dispositions, mergers or acquisitions; encumbering its intellectual property; incurring indebtedness or liens; paying dividends; making certain investments; and engaging in certain other business transactions. The obligations under the 2015 Credit Facility were subject to acceleration upon the occurrence of specified events of default, including a material adverse change in the Company’s business, operations or financial or other condition.

In December 2018, the Company repaid all borrowings under the 2015 Credit Facility. The aggregate principal amount of the loan outstanding at the time of repayment was $5.5 million and the Company did not incur any penalties as a result of the repayment. The Company recognized a loss on the extinguishment of the 2015 Credit Facility of less than $0.1 million related to the unamortized debt discount at the time of repayment. The loss on extinguishment was recorded as additional interest expense.

2018 Credit Facility

On December 21, 2018 (the “Closing Date”), the Company entered into a loan and security agreement (the “Loan Agreement”) with Solar Capital Ltd. as collateral agent for the lenders party thereto for an aggregate principal amount of $75.0 million. The aggregate principal amount will be funded in three tranches of term loans of $25.0 million each. On the Closing Date, the Company made an initial borrowing of $25.0 million. The second tranche will be available to the Company through June 30, 2019, subject to certain conditions including the satisfaction of certain financial covenants. The third tranche will be available to the Company through June 30, 2020, subject to certain conditions including the Food and Drug Administration’s acceptance of at least one of the Company’s investigational new drug applications and the satisfaction of certain financial covenants.

Interest on the outstanding loan balance will accrue at a rate of the one-month U.S. LIBOR rate plus 5.50%. Monthly principal payments will commence 36 months after the Closing Date and will be amortized over the following 24 months. Certain backend fees are due to the lender at the time of final repayment based on the total funded term loans. The Company accrues the backend fees that will be due at final repayment to outstanding debt by charges to interest expense over the term of the loans using the effective-interest method. The term loans are subject to a prepayment fee of 1.00% in the first year, 0.50% in the second year and 0.25% in the third year. In conjunction with 2018 Credit Facility, the Company incurred issuance costs of $0.8 million.

The Loan Agreement contains financial covenants that require the Company to maintain either a certain minimum cash balance or a minimum market capitalization threshold. The Company was in compliance with all such covenants as of December 31, 2018. The Loan Agreement contains customary representations, warranties and covenants and also includes customary events of default, including payment defaults, breaches of covenants, change of control and a material adverse change default. Upon the occurrence of an event of default, a default interest rate of an additional 4.00% per annum may be applied to the outstanding loan balances, and the lenders may declare all outstanding obligations immediately due and payable. Borrowings under the Loan Agreement are collateralized by substantially all of the Company’s assets, other than its intellectual property.

As of December 31, 2018, the estimated future principal payments due were as follows (in thousands):

 

 

 

 

Year ending December 31, 

    

  

 

2019

 

$

 —

2020

 

 

 —

2021

 

 

 —

2022

 

 

12,500

Thereafter

 

 

12,500

 

 

$

25,000