Term Loan | 6. Term Loan On March 9, 2018 (“Closing Date”), the Company entered into the loan and security agreement (“Loan Agreement”) with Pacific Western Bank (“PWB”), a California state-chartered bank. Under the Loan Agreement, the Company may borrow amounts not to exceed $ 8.0 million, consisted of Tranche I and Tranche II, with the Tranche I funded on the Closing Date and Tranche II funded no later than 18 months from the Closing Date . The Company borrowed $ 3.5 million under Tranche I on the Closing Date and $ 4.5 million under Tranche II in August 2018, and the full amount of $ 8.0 million was to be repaid beginning 18 months from the Closing Date in thirty equal installments, including interest at a floating annual rate equal to the greater of (i) 0.75 % above the prime rate then in effect and (ii) 5.00 %, due monthly starting the first month after the Closing Date. In conjunction with the Loan Agreement, under Tranche I, the Company issued a warrant to PWB to purchase 87,500 shares of Series A redeemable convertible preferred stock (“Series A Preferred Stock”) at the initial strike price of $ 0.5 0 per share. The warrant is exercisable for a 10-year period. Additionally, the warrant shall be exercisable for an additional number of shares of Series A Preferred Stock equal to the amount borrowed under Tranche II multiplied by 0.0125 . In no event shall the warrant be exercisable for more than 200,000 shares of Series A Preferred Stock. Upon closing of Tranche II, the warrant was not exercised for additional number of shares of Series A Preferred Stock. In lieu of exercising the warrant, PWB may, in whole or in part, convert the warrant into a number of shares of Series A Preferred Stock, determined by (a) dividing the aggregate fair market value of the Series A Preferred Stock shares minus the aggregate warrant price of such shares by (b) the fair market value of one share of Series A Preferred Stock. The fair market value of the Series A Preferred Stock shares shall be determined based upon either the publicly traded closing price on the date of the conversion or, if not publicly traded, a value deemed appropriate by the Company’s board of directors. Refer to Note 7, Fair value of financial instruments , for further discussion on the valuation methodology and inputs for the determination of the fair value of the warrants. On September 30, 2019, the Company entered into an amendment to the Loan Agreement (the “First Amendment”), in which PWB made an additional term loan pursuant to a new Tranche III to the Company in an aggregate principal amount of $ 12.0 million. The proceeds of the term loan pursuant to Tranche III were first applied to the repayment in full of all outstanding principal and accrued interest on the outstanding term loan of $ 8.0 million borrowed pursuant to Tranche I and Tranche II. The remaining cash proceeds of $ 4.0 million was used for general working capital and for capital expenditures purposes. The maturity date of the additional term loan was initially March 9, 2022 , and it would have been repaid beginning on January 9, 2020 in twenty-seven equal installments. However, the closing of the Company’s Series B redeemable convertible preferred stock (“Series B Preferred Stock”) financing in January 2020 satisfied the cash proceeds milestone noted in the First Amendment, in which the maturity date of the amended term loan was extended to June 9, 2023 , and the term loan was to be repaid beginning in January 2021 in thirty equal installments, including interest at a floating annual rate equal to the greater of (i) 0.75 % above the prime rate then in effect and (ii) 6.00 %, due monthly starting the first month after September 30, 2019. The Company incurred $ 15 thousand of debt issuance costs, which was recorded as a direct reduction against the additional term loan and amortized over the life of the associated term loan as a component of interest expense using the effective interest method. In conjunction with the First Amendment, the Company also issued a warrant to purchase 350,000 shares of Series A Preferred Stock, which effectively restated and replaced the original warrant agreement. The strike price of the amended warrant is $ 0.50 per share, and the term remains unchanged, expiring in March 2028 . Refer to Note 7, Fair value of financial instruments , for further discussion on the valuation methodology and inputs for the determination of the fair value of the warrants. As the warrants issued were freestanding financial instruments that were exercisable for contingently redeemable shares, they were initially recorded at fair value on the date of issuance as a liability, with a corresponding discount recorded against the face value of the term loan. The discount was accreted against the face value of the term loan over its remaining term as additional interest expense. The change in estimated fair value of the warrants during the period was remeasured at each reporting date and recognized as a component of other income (expense), net in the statements of operations and comprehensive loss. Upon the closing of the IPO, the Company’s outstanding warrants to purchase Series A Preferred Stock automatically became warrants to purchase an aggregate of 92,647 shares of common stock. As a result, the fair value of the warrants was reclassified to additional paid-in capital and, as of September 30, 2021 , the Company no longer had a warrant liability to remeasure. Additionally, the remaining unamortized debt discount of $ 0.1 million related to the warrants was written off during the three months ended September 30, 2021 . In August 2021, the holders of such warrants completed a cashless exercise of the warrants, resulting in the Company’s issuance of 82,193 shares of its common stock, whereby 10,454 shares of common stock were withheld by the Company to pay for the exercise price of the warrants. On January 22, 2020, the Loan Agreement was further amended (the “Second Amendment”) to extend the principal repayment start date, from January 9, 2020 as noted in the First Amendment to February 9, 2020. The Loan Agreement was further amended on December 30, 2020 (the “Third Amendment”) to extend the principal repayment date. The maturity date of the term loan was extended to June 30, 2023 , and it was to be repaid beginning on June 30, 2021 in twenty-four equal installments, including interest at a floating annual rate equal to the greater of (i) 0.75 % above the prime rate then in effect and (ii) 6.00 %, due monthly starting the first month after December 30, 2020. As a result of the closing of Series C redeemable convertible preferred stock (“Series C Preferred Stock”) in March 2021, as further discussed in Note 10, Redeemable convertible preferred stock , the Company satisfied the cash proceeds milestone as defined in the Third Amendment, in which the Company received gross cash proceeds of more than $ 50.0 million from the issuance of new preferred stock prior to June 30, 2021. Accordingly, the principal repayment date of the term loan was further extended to December 31, 2021 and the maturity date was extended to December 31, 2023 . There are no other changes to the terms as a result of the achievement of the cash proceeds milestone. In connection with the Third Amendment, the Company incurred $ 15 thousand of debt issuance costs, which have been recorded as a direct reduction against the term loan and amortized over the life of the associated term loan as a component of interest expense using the effective interest method. Borrowings under the Loan agreement, as amended, are collateralized by substantially all of the Company’s personal property, other than its intellectual property. There are no financial covenants associated with the Loan Agreement, as amended; however, the Company is subject to certain affirmative and negative covenants to which the Company will remain subject until maturity. Additionally, the Company was required to pay a success fee of $ 0.2 million upon the occurrence of a specified liquidity event, including an IPO, as described in the Loan Agreement. The Company determined that this obligation represented a freestanding financial instrument. Accordingly, the success fee obligation was classified as a liability on the Company’s balance sheet as of December 31, 2020 and initially recorded at fair value, with changes in fair value for each reporting period recognized in other income (expense), net in the statements of operations and comprehensive loss. The fair value of such obligation was remeasured at the end of each reporting period until the liability was settled, for which it was settled and paid in August 2021 upon the completion of the IPO. As of September 30, 2021 and December 31, 2020 , the long-term debt, current portion was $ 4.5 million and $ 3.0 million, and the long-term debt was $ 7.5 million and $ 9.0 million, respectively. The Company’s outstanding term loan balance was comprised of the following (in thousands): September 30, December 31, 2021 2020 Principal $ 12,000 $ 12,000 Unamortized debt discount ( 15 ) ( 268 ) Net carrying amount $ 11,985 $ 11,732 The Company determined that the expected life of the debt was equal to the term on the term loan. The effective interest rate on the liability component ranged from 5.53 % to 7.51 % for the period from the date of issuance through September 30, 2021 . The following table sets forth total interest expense recognized related to the term loan (in thousands): Three Months Ended September 30, Nine Months Ended September 30, 2021 2020 2021 2020 Contractual interest expense $ 184 $ 184 $ 546 $ 548 Amortization of debt issuance costs and debt discount 179 12 253 36 Total interest expense $ 363 $ 196 $ 799 $ 584 At September 30, 2021 and December 31, 2020 , accrued interest on the term loan was $ 58 thousand and $ 44 thousand, respectively. The Company is required to repay the following principal amounts in connection with its term loan (in thousands): 2021 (remaining 3 months) $ — 2022 6,000 2023 6,000 $ 12,000 |