Debt | 6. Debt 2019 Credit Facility In August 2019, the Company executed an Amended and Restated Loan and Security Agreement (2019 Credit Facility), which amended and restated the Company’s prior loan and security agreement (2017 Credit Facility), providing for a formula revolving line of credit (Line of Credit) and a term loan (2019 Term Loan) with Silicon Valley Bank (SVB) to refinance in full the outstanding principal balance of $8.0 million under the 2017 Credit Facility. In August 2019, the Company paid the final payment of $0.8 million, which was due upon the refinancing of the 2017 Credit Facility. In July 2020, the Company executed the first amendment to the 2019 Credit Facility with SVB. The amendment, among other things, extended the initial 12-month interest-only period for the 2019 Term Loan to a 16-month interest-only period and lowered the floor interest rate. The floor interest rates for the 2019 Term Loan and the Line of Credit were reduced from 4.75% and 6.75% to 3.75% and 4.75%, respectively. The amended Line of Credit allows for a maximum draw of $5.0 million, subject to a formula borrowing base, has a two-year term and bears interest at a floating rate equal to the Wall Street Journal (WSJ) prime rate plus 1.5%, per annum, subject to a floor of 4.75%. As of June 30, 2021, the interest rate was 4.75%. The Line of Credit required a commitment fee of 1.6% of the maximum availability of the Line of Credit, which was paid in August 2019 upon closing, and was accounted for as a debt discount. The Line of Credit also provides for a termination fee equal to 1% of the maximum availability under the Line of Credit, which is due in case of a termination of the Line of Credit prior to the scheduled maturity date, and an unused facility fee equal to 0.125% per annum of the average unused portion of the Line of Credit, which is expensed as incurred. At execution, $2.0 million from the Line of Credit was used to refinance a portion of the outstanding balance of the 2017 Credit Facility, and $3.0 million remains available under the Line of Credit, subject to borrowing base availability. As of June 30, 2021, the effective interest rate under the Line of Credit was 10.18% and the outstanding balance was $2.0 million. The Line of Credit was set to mature on August 5, 2021. Subsequent to June 30, 2021, the Company executed the second amendment to the 2019 Credit Facility with SVB. The second amendment, entered into on July 28, 2021, extended the maturity date of the Line of Credit to August 5, 2022. The amended 2019 Term Loan provides for a $6.0 million term loan, which was used to refinance the remaining balance of the 2017 Credit Facility. The 2019 Term Loan has a term of 46 months, and a 16-month interest-only period followed by 30 months of equal principal payments, plus accrued interest. The 2019 Term Loan bears interest at a floating rate equal to the WSJ prime rate minus 0.75%, subject to a floor of 3.75%. As of June 30, 2021, the interest rate was 3.75%. A final payment of 7% of the original principal amount of the 2019 Term Loan must be made when the 2019 Term Loan is prepaid or repaid, whether at maturity or as a result of a prepayment or acceleration or otherwise. The additional payment, which is accounted for as a debt discount, is being accreted using the effective interest method. The 2019 Term Loan has a prepayment fee equal to 2% of the total commitment, which is due only if the 2019 Term Loan is prepaid prior to the scheduled maturity date for any reason. As of June 30, 2021, the effective interest rate under the 2019 Term Loan was 7.85% and the outstanding balance was $4.8 million. The 2019 Term Loan matures on June 1, 2023. In conjunction with entering into the 2019 Credit Facility, on August 5, 2019, the Company and SVB amended and restated the warrant issued to SVB in connection with the first amendment to the 2017 Credit Facility, which was a warrant to purchase 9,375 shares of the Company’s common stock at an exercise price of $8.91 per share, to add an option by SVB to put the warrant back to the Company for $50,000 upon expiration or a liquidity event, to be prorated if SVB exercises a portion of the warrant. The warrant expires on July 6, 2023. The warrant is classified as a liability and recorded at fair value within other liabilities in the Company’s condensed balance sheet. Due to the put right, the warrant is subject to fair value remeasurement at each subsequent reporting date until the exercise or expiration of the warrant. Any resulting change in the fair value of the warrant will be recorded as other (expense) income, net in the Company’s condensed statement of operations and comprehensive loss. The Company recognized other expense of $1,000 and $5,000 for the three and six months ended June 30, 2021, respectively. The Company recognized other expense of $12,000 and $7,000 for the three and six months ended June 30, 2020, respectively. In conjunction with entering into the first amendment to the 2019 Credit Facility, on July 15, 2020, the Company issued a warrant to SVB to purchase 21,500 shares of the Company’s common stock at an exercise price of $0.01 per share. The warrant expires on July 15, 2025. The warrant is classified as equity and was recorded as a debt discount that will be amortized to interest expense using the effective interest method. The fair value of the warrant was $152,000 on the date of issuance using the Black-Scholes option-pricing model. Subsequent to June 30, 2021, SVB elected to exercise the warrant associated with the first amendment to the 2019 Credit Facility on July 22, 2021, which resulted in a net cashless exercise of the warrant and the issuance of 21,463 shares of the Company’s common stock. Collateral for the 2019 Credit Facility includes all of the Company’s assets except for intellectual property. The Company is required to comply with certain covenants under the 2019 Credit Facility, including requirements to maintain a minimum cash balance and availability under the Line of Credit, and restrictions on certain actions without the consent of the lender, such as limitations on its ability to engage in mergers or acquisitions, sell assets, incur indebtedness or grant liens or negative pledges on its assets, make loans or make other investments. Under these covenants, the Company is prohibited from paying cash dividends with respect to its capital stock. The Company was in compliance with all covenants at June 30, 2021. The 2019 Credit Facility contains a material adverse effect clause which provides that an event of default will occur if, among other triggers, an event occurs that could reasonably be expected to result in a material adverse effect on the Company’s business, operations or condition, or on the Company’s ability to perform its obligations under the 2019 Term Loan. As of June 30, 2021, management does not believe that it is probable that the clause will be triggered within the next 12 months, and therefore the 2019 Term Loan is classified as long-term debt. The amortization of the debt issuance costs and accretion of the debt discount is included in interest expense within the statement of operations and comprehensive loss and included in non-cash interest expense within the statement of cash flows. The carrying value of the Company’s 2019 Credit Facility as of June 30, 2021 was as follows (in thousands): Current Long-Term Portion Debt Total Credit Facility $ 4,400 $ 2,820 $ 7,220 Unamortized debt discounts (87) (175) (262) Net carrying value $ 4,313 $ 2,645 $ 6,958 The carrying value of the Company’s 2019 Credit Facility as of December 31, 2020 was as follows (in thousands): Current Long-Term Portion Debt Total Credit Facility $ 4,400 $ 4,020 $ 8,420 Unamortized debt discounts (158) (272) (430) Net carrying value $ 4,242 $ 3,748 $ 7,990 The table below includes the principal repayments due under the 2019 Credit Facility (in thousands): Principal Repayment as of June 30, 2021 2021 (six remaining months) 3,200 2022 2,400 2023 1,620 Total principal repayments $ 7,220 Of the $3.2 million in principal repayments noted above for the six remaining months for the year ended December 31, 2021, $1.2 million relates to payments on the Term Loan while $2.0 million relate to payments on the Line of Credit. Of |