v3.22.2.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Oct. 31, 2022
Oct. 31, 2021
Cash flows from operating activities:    
Net loss $ (90,112) $ (64,243)
Adjustments to reconcile net loss to net cash (used in) provided by operating activities:    
Depreciation, amortization and accretion 13,725 12,642
Stock-based compensation 80,045 51,778
Provision for credit losses 1,403 1,859
Donation of common stock to charitable foundation 1,000 1,000
Amortization of deferred commissions 14,250 11,956
Reduction in carrying amount of right-of-use assets 5,859 7,230
Change in fair value of warrant liability (9,348) 0
Change in fair value of contingent consideration (1,800) 0
Other 575 678
Changes in operating assets and liabilities:    
Accounts receivable 5,666 4,645
Prepaid expenses and other assets (2,454) (559)
Deferred commissions (15,418) (14,887)
Accounts payable 3,415 1,196
Accrued expenses and other liabilities 2,819 2,781
Accrued employee liabilities 282 1,513
Deferred revenue (2,607) 1,152
Operating lease liabilities (9,979) (10,421)
Net cash (used in) provided by operating activities (2,679) 8,320
Cash flows from investing activities:    
Purchases of property and equipment (8,471) (6,044)
Insurance proceeds for damaged property and equipment 0 344
Purchase of intangible assets 0 (1,349)
Purchases of short-term investments (205,464) (77,386)
Maturities of short-term investments 89,013 82,592
Cash paid for acquisition, net of cash acquired (41,000) 0
Net cash used in investing activities (165,922) (1,843)
Cash flows from financing activities:    
Proceeds from issuance of convertible senior notes, net of issuance costs 233,901 0
Proceeds from issuance of common stock upon exercise of stock options 2,097 15,692
Proceeds from issuance of common stock under employee stock purchase plan 4,485 4,005
Principal payments on debt (1,480) (3,333)
Net cash provided by financing activities 239,003 16,364
Effect of exchange rates on cash and cash equivalents (1,648) (386)
Net increase in cash and cash equivalents 68,754 22,455
Cash and cash equivalents, beginning of period 113,507 94,110
Cash and cash equivalents, end of period 182,261 116,565
Supplemental disclosure of non-cash investing and financing activities:    
Lapse in restrictions on early exercised common stock options 0 25
Property and equipment purchases accrued or in accounts payable 64 123
Purchase of intangible assets included in accrued expenses and other current liabilities $ 0 $ 225