v3.21.1

Debt and Finance Lease Liabilities | 12 Months Ended
--- | ---
Jan. 31, 2021
Debt Disclosure [Abstract] |
Debt and Finance Lease Liabilities | Debt and Finance Lease Liabilities As of January 31, 2021 and 2020, the Company had the following outstanding debt and finance balances:
| January 31,
| 2021 |  | 2020
Term loan and revolving credit facility(1) | $ | — |  |  | $ | 20,000 |
Finance leases | 9,702 |  |  | 3,612 |
Other debt | 1,533 |  |  | 808 |
Accrued interest and payments | 100 |  |  | 381 |
Total debt and finance lease liabilities, before original issue discount | 11,335 |  |  | 24,801 |
Less deferred financing costs and original issue discount | — |  |  | (937) |
Debt and finance lease liabilities | $ | 11,335 |  |  | $ | 23,864 |
Less - current portion of debt and finance lease liabilities | (4,864) |  |  | (2,324) |
Long term debt and finance lease liabilities | $ | 6,471 |  |  | $ | 21,540 |
(1) Revolving credit facility as of January 31, 2021. Term loan as of January 31, 2020. |  |  |
(a) Second Amended and Restated Loan and Security Agreement On May 5, 2020 (the "Second SVB Effective Date"), the Company entered into a Second Amended and Restated Loan and Security Agreement (the "Second SVB Facility”) with Silicon Valley Bank. The Second SVB Facility modified the First Amended and Restated Loan and Security Agreement, dated February 28, 2019 (the "First SVB Facility"). The Second SVB Facility provides for a revolving credit facility with an initial borrowing capacity of $50,000. The borrowing capacity may be increased to $65,000 at the sole discretion of Silicon Valley Bank. Upon entering into the Second SVB Facility, the Company borrowed $20,663 against the revolving credit facility. The Company used the proceeds from its initial revolving credit borrowing to repay all amounts due under the First SVB Facility term loan. Borrowings under the Second SVB Facility are payable five years from the Effective Date, which is May 5, 2025 (the "Maturity Date"). Borrowings under the Second SVB Facility bear interest, which is payable monthly, at a floating rate equal to the greater of the Wall Street Journal Prime Rate or 4.5%, until such time that adjusted EBITDA as defined in the Second SVB Facility (SVB Facility Adjusted EBITDA) reaches a defined level, after which time the interest rate is reduced to the greater of prime less 0.5%, or 4.0%. For the year ended January 31, 2021, the interest rate on the Second SVB Facility was 4.5%. In addition to principal and interest due under the revolving credit facility, the Company is required to pay an annual commitment fee of $125 per year. The Second SVB Facility was paid off in late December 2020. The Company has $50,000 of availability as of January 31, 2021. In the event that the Company terminates the Second SVB Facility prior to the Maturity Date, the Company will be required to pay a termination fee equal to (i) $187, reduced by $6 for each calendar month that has elapsed after April 30, 2020, plus (ii) a percent of the total borrowing capacity equal to 1.5% if terminated before the second anniversary of the Second SVB Effective Date, 0.75% if terminated on or after the second and before the third anniversary of the Second SVB Effective Date funding, or 0.5% if terminated on or after the third and before the fourth anniversary of the Second SVB Effective Date. The Company will not be required to pay a termination fee if terminated after the fourth anniversary of the Second SVB Effective Date. Any Company obligations under the Second SVB Facility are secured by a first priority security interest in substantially all of its assets, other than intellectual property. The Second SVB Facility includes a financial covenant that requires the Company to achieve certain profitability and liquidity thresholds. The financial covenant will not be effective if the Company maintains certain levels of liquidity as defined. The Company was in compliance with all covenants related to the Second SVB Facility as of January 31, 2021. The Second SVB Facility contains events of default, including, without limitation, events of default upon: (i) failure to make payment pursuant to the terms of the agreement; (ii) violation of covenants; (iii) material adverse changes to the Company’s business; (iv) attachment or levy on the Company’s assets or judicial restraint on its business; (v) insolvency; (vi) significant judgments, orders or decrees for payments by the Company not covered by insurance; (vii) incorrectness of representations and warranties; (viii) incurrence of subordinated debt; (ix) revocation of governmental approvals necessary for the Company to conduct its business; and (x) failure by the Company to maintain a valid and perfected lien on the collateral securing the borrowing. During the year ended January 31, 2021, the Company accounted for the settlement of the First SVB Facility term loan and the borrowings under the Second SVB Facility as a modification of the First SVB Facility term loan, because the cash flows under the Second SVB Facility were not substantially different than the cash flows under the First SVB Facility term loan. The Company incurred $531 of fees in connection with the Second SVB Facility, including $406 of fees to terminate the First SVB Facility and $125 of fees to enter into the Second SVB Facility. As the Second SVB Facility was accounted for as a modification, the Company recorded these fees as an additional discount on debt. As of January 31, 2021, there is no debt outstanding related to the Second SVB Facility. As a result, the Company presented all unamortized deferred costs within other assets as of January 31, 2021. The Company is amortizing the remaining unamortized costs over the remaining term of the Second SVB Facility. (b) First Amended and Restated Loan and Security Agreement On February 28, 2019 (the "Effective Date"), the Company entered into a First Amended and Restated Loan and Security Agreement (the "First SVB Facility") that provided for a $20,000 term loan (the "2019 Term Loan"). Interest on the term loan was payable monthly, at a floating rate equal to the bank’s prime rate plus 1.50%, subject to reduction based on achievement of defined EBITDA levels. In connection with the First SVB Facility, the Company issued warrants to the lenders to purchase an aggregate of 150,274 shares of common stock at an exercise price of $8.02 per share. See Note 9 for additional information on stock warrants. During the year ended January 31, 2020, the Company recorded a $1,073 loss on extinguishment of debt within other income (expense), net for the settlement of the previously outstanding loans payable. (c) Finance Leases See Note 11 - Leases for more information regarding finance leases. (d) Other Debt (Financing Agreements) On July 21, 2020, the Company entered into an insurance premium financing agreement in order to finance its premium payments for directors' and officers' insurance. As of January 31, 2021, the outstanding principal amount under the agreement was $673. The agreement bears interest of 2.6% per annum. Principal and interest are due and were paid in March 2021. On April 10, 2020, the Company entered into a vendor financing agreement with a principal amount of $174 to finance the acquisition of certain internal use software licenses. As of January 31, 2021, the outstanding principal balance of the financing agreement is $133. Interest accrues at an annual rate of 2.94%. The Company is required to make equal annual payments of $46 in May 2021, May 2022 and May 2023, which includes principal and interest. On November 2, 2018, the Company entered into a vendor financing agreement with a principal amount of $1,256 to finance the acquisition of certain internal use software licenses. As of January 31, 2021, the outstanding principal balance of the financing agreement is $504. Interest accrues at an annual rate of 9.83%. The Company is required to pay three equal payments of $183 in May 2021, November 2021 and June 2022, which includes principal and interest. Maturities of debt, including finance leases, in each of the next five years and thereafter are as follows:
|  | Total |  | Debt |  | Finance Leases
Fiscal year ending January 31: |  |  |  |  |  |
2022 |  | $ | 4,965 |  |  | $ | 1,145 |  |  | $ | 3,820 |
2023 |  | 3,629 |  |  | 439 |  |  | 3,190 |
2024 |  | 2,284 |  |  | 49 |  |  | 2,235 |
2025 |  | 302 |  |  | — |  |  | 302 |
2026 |  | 155 |  |  | — |  |  | 155 |
Total long-term debt and finance lease maturities |  | $ | 11,335 |  |  | $ | 1,633 |  |  | $ | 9,702 |
The following table presents the components of interest (expense) income, net:
|  | Year ended January 31,
|  | 2021 |  | 2020 |  | 2019
Interest expense (1) |  | $ | (1,695) |  |  | $ | (3,043) |  |  | $ | (3,510) |
Interest income |  | 122 |  |  | 598 |  |  | 6 |
Interest (expense) income, net |  | $ | (1,573) |  |  | $ | (2,445) |  |  | $ | (3,504) |
(1) Includes amortization of deferred financing costs and original issue discount

X
- References No definition available. + Details
Name: | us-gaap_DebtDisclosureAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The entire disclosure for information about short-term and long-term debt arrangements, which includes amounts of borrowings under each line of credit, note payable, commercial paper issue, bonds indenture, debenture issue, own-share lending arrangements and any other contractual agreement to repay funds, and about the underlying arrangements, rationale for a classification as long-term, including repayment terms, interest rates, collateral provided, restrictions on use of assets and activities, whether or not in compliance with debt covenants, and other matters important to users of the financial statements, such as the effects of refinancing and noncompliance with debt covenants. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 470 -URI http://asc.fasb.org/topic&trid=2208564 + Details
Name: | us-gaap_DebtDisclosureTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration