v3.22.2.2
Debt
9 Months Ended
Oct. 31, 2022
Debt Disclosure [Abstract]  
Debt Debt
Credit Facility
The Company has a credit facility that permits up to $100.0 million in term loan borrowings, all of which had been drawn as of October 31, 2022. The credit facility is secured by substantially all of the Company's assets.
In August 2020, the Company entered into an amendment to the credit facility which extended the maturity date for the outstanding loan from October 1, 2022 to April 1, 2025. Per the amendment, the Company is required to comply with a financial covenant requiring the Company to maintain a minimum balance of unrestricted cash and cash equivalents equal to $10.0 million until the Company’s six-month adjusted cash flow is greater than zero. The amendment also revised the maximum debt ratio financial covenant and included an amendment fee of $5.0 million, which accrues interest at a rate of 9.5% per year. The amendment fee, along with its accrued interest, is to be paid at the earlier of the payment date, maturity date, or the date the loan becomes payable.
The credit facility requires interest-only payments until the maturity date. A portion of the interest that accrues on the outstanding principal of each term loan is payable in cash on a monthly basis, which portion accrues at a floating rate equal to the greater of (1) 7% and (2) three-month LIBOR plus 5.5% per year. In the event that LIBOR is unavailable, interest will accrue at a floating rate equal to the greater of (1) 7% and (2) the U.S. prime rate plus 2.75% per year. This interest rate was approximately 9.3% as of October 31, 2022. In addition, a portion of the interest that accrues on the outstanding principal of each term loan is capitalized and added to the principal amount of the outstanding term loan on a monthly basis, which portion accrues at a fixed rate equal to 2.5% per year. During the three months ended October 31, 2021 and 2022, $0.7 million and $0.7 million of interest was capitalized, and $2.1 million and $2.1 million of interest was capitalized during the nine months ended October 31, 2021 and 2022, respectively.
The credit facility requires a closing fee of $7.0 million to be paid on the earliest of (1) the date the term loan is prepaid, (2) the term loan maturity date, which is April 1, 2025, and (3) the date the term loan becomes due and payable. Due to the long-term nature of the closing fee, and the amendment fee described above, these fees were recorded at present value as an increase to other liabilities, noncurrent and an increase to debt issuance costs. These liabilities will be accreted to their full value over the term of the loan, with such accretion recorded as interest expense in other expense, net in the condensed consolidated statements of operations. Debt issuance costs are presented as an offset to the outstanding principal balance of
the term loans on the condensed consolidated balance sheets and are being amortized as interest expense in other expense, net in the condensed consolidated statements of operations over the term of the loan using the effective interest rate method.
The balances in long-term debt consisted of the following (in thousands):
As of January 31,As of October 31,
20222022
Principal$110,599 $112,705 
Less: unamortized debt issuance costs(6,611)(5,281)
Net carrying amount$103,988 $107,424 

The $100.0 million credit facility contains customary conditions to borrowing, events of default and covenants, including covenants that restrict the Company's ability to dispose of assets, make material changes to the nature, control or location of the business, merge with or acquire other entities, incur indebtedness or encumbrances, make distributions to holders of the Company's capital stock, make certain investments or enter into transactions with affiliates. In addition, the Company is required to comply with a financial covenant based on the ratio of outstanding indebtedness to annualized recurring revenue. Under the facility, the maximum ratio is 0.550 on January 31, 2022 and April 30, 2022; 0.525 on July 31, 2022 and October 31, 2022; and 0.500 on January 31, 2023 through the maturity date. The credit facility defines annualized recurring revenue as four times the Company's aggregate revenue for the immediately preceding quarter (net of recurring discounts and discounts for periods greater than one year) less the annual contract value of any customer contracts pursuant to which the Company was advised during such quarter would not be renewed at the end of the current term plus the annual contract value of existing customer contract increases during such quarter. This covenant is measured quarterly on a three-month trailing basis. Upon the occurrence of an event of default, such as non-compliance with covenants, any outstanding principal, interest and fees become due immediately. The Company was in compliance with the covenant terms of the credit facility at January 31, 2022 and October 31, 2022.

The Company incurred interest expense of $3.4 million and $4.0 million for the three months ended October 31, 2021 and 2022, respectively, and $10.0 million and $11.0 million for the nine months ended October 31, 2021 and 2022, respectively.
Stock Warrants
In connection with the credit facility described above, the Company issued warrants which were exercisable for an aggregate of 125,000 shares of Class B common stock at an exercise price of $17.8736 per share. These warrants were net exercised in September 2020, resulting in the issuance of 68,508 shares of Class B common stock.
Upon execution of the August 2020 amendment, the Company issued an additional 100,000 fully vested warrants to purchase Class B common stock with an exercise price of $0.01. These warrants were exercised in May 2021, resulting in the issuance of 100,000 shares of Class B common stock.
Warrants issued in connection with the credit facility were recorded as an increase to additional paid-in capital with a corresponding increase to debt issuance costs.
See Note 13 "Stockholders' Deficit" for further details regarding stock warrants.
Structured Payables
In June 2022, the Company entered into a structured payables agreement pursuant to which the counterparty assumes responsibility for payables to designated suppliers. The agreement contains an annual limit of an aggregate of $60.0 million, with a maximum allowable outstanding principal balance at any time of $5.0 million. The Company is required to pay interest that accrues at a rate equal to 0.0417% per day after the date on which the Company is required to pay the counterparty with respect to each covered invoice, which interest rate increases to 0.0750% per day at the earlier of 61 days after the respective invoice due date or 121 days after the date of the approved invoice. The Company’s obligations are
secured by $6.0 million of the Company's accounts receivable. As of October 31, 2022 there were no outstanding obligations related to these structured payables. During the three and nine months ended October 31, 2022 no interest expense was recognized related to this agreement.