v3.22.2.2
Long-Term Debt
9 Months Ended
Sep. 30, 2022
Debt Disclosure [Abstract]  
Long-Term Debt Long-Term Debt
In February 2019, the Company entered into a loan and security agreement (“Term Loan”) with Western Alliance Bank for an aggregate amount of up to $40.0 million to refinance its prior loan and security agreement with Silicon Valley Bank. The Company incurred an immaterial amount of debt issuance costs in connection with the Term Loan. The debt issuance costs are recorded on the Company’s condensed consolidated balance sheet and are being amortized over the life of the Term Loan using the effective-interest method.
The Term Loan was subsequently amended several times, with the most recent amendment taking place in July 2022. As amended, the Term Loan matures on July 14, 2027 and provides for an aggregate borrowing amount of up to $70.0 million, which bears interest at the prime rate published in the Wall Street Journal plus a margin of 1.25%, with a floor of 6.00%. The Company incurred an immaterial amount of debt issuance costs in connection with the amendment. For accounting purposes, pursuant to FASB ASC Topic 470, Debt, this transaction was accounted for as a modification of the Term Loan. The debt issuance costs were recognized in interest expense within the Company’s condensed consolidated statement of operations during the third quarter of 2022.
The Term Loan requires the Company to comply with certain financial covenants, including, among other things, liquidity requirements, performance metrics, and a debt service coverage ratio. The Term Loan also contains affirmative and negative covenants customary for financings of this type, including, among other things, limitations or prohibitions on repurchasing common shares, declaring and paying dividends and other distributions, redeeming and repurchasing certain other indebtedness, loans and investments, additional indebtedness, liens, mergers, asset sales and transactions with affiliates. In addition, the Term Loan contains customary events of default. As of September 30, 2022 and December 31, 2021, the Company was in compliance with its debt covenants under the Term Loan.
The Term Loan is payable in consecutive monthly installments. Interest is due monthly on amounts outstanding under the Term Loan. The Company is also permitted to make voluntary prepayments without penalty or premium at any time.
As of September 30, 2022 and December 31, 2021, the effective interest rate for borrowings under the Term Loan was 8.22% and 6.65%, respectively.
During the nine months ended September 30, 2022, the Company borrowed an aggregate amount of $0.7 million under the Term Loan and repaid a total of $5.3 million on amounts outstanding under the Term Loan. During the nine months ended September 30, 2021, the Company borrowed an aggregate amount of $5.0 million under the Term Loan and repaid a total of $2.0 million on amounts outstanding under the Term Loan. As of September 30, 2022 and December 31, 2021, the amount outstanding under the Term Loan was $31.3 million and $36.0 million, respectively.
During the three months ended September 30, 2022 and 2021, the Company recognized $0.1 million and $0.6 million, respectively, of interest expense relating to the Term Loan, which included $0.1 million and $0.1 million, respectively, relating to amortization of debt discount and issuance costs. During the nine months ended September 30, 2022 and 2021, the Company recognized $0.8 million and $1.8 million, respectively, of interest expense relating to the Term Loan, which included $0.3 million and $0.3 million, respectively, relating to amortization of debt discount and issuance costs.
As of September 30, 2022, annual scheduled principal payments of the Term Loan were as follows:

Amount
(in thousands)
2022$1,000 
20234,000 
20244,000 
20254,000 
20264,000 
Thereafter14,333 
Total principal payments31,333 
Less: unamortized debt discount(593)
Less: current portion of long-term debt(3,881)
Non-current portion of long-term debt$26,859