XML 28 R12.htm IDEA: XBRL DOCUMENT v3.22.1
Long-term debt
12 Months Ended
Dec. 31, 2021
Long-term debt  
Long-term debt

5. Long-term debt

On March 21, 2017, the Company entered into a term loan facility of up to $25.0 million with Hercules Capital, Inc. (Hercules). The term loan facility was governed by a loan and security agreement, dated March 21, 2017 (the Original Loan Agreement). The Original Loan Agreement was amended on January 4, 2018, March 6, 2018, October 11, 2018, April 23, 2019, and November 14, 2019 (the Amended Loan Agreement) to increase the total borrowing limit under the Original Loan Agreement from up to $25.0 million to up to $75.0 million, pursuant to certain conditions of funding. The Amended Term Loan was scheduled to mature on December 1, 2022.

On November 9, 2020, the Company repaid in full all principal, accrued and unpaid interest, fees, and expenses under the Amended Loan Agreement with Hercules in an aggregate amount of $37.4 million (the Payoff Amount). The Payoff Amount included the principal balance of $35.0 million, final payment fee of $1.8 million, prepayment penalty fee of $0.5 million, and accrued and unpaid interest of $0.1 million. On November 9, 2020 the Amended Loan Agreement was terminated along with Hercules’ commitment to provide funding under any future term loans. All liens on substantially all of the Company’s assets to secure the loans under the Amended Loan Agreement have been terminated and released. The Payoff Amount, excluding accrued interest, exceeded the carrying amount of the Hercules debt on November 9, 2020 by $1.6 million. As a result, the Company recorded a loss on debt extinguishment of $1.6 million included in the statements of operations and comprehensive loss for the year ended December 31, 2020.