v3.22.2.2
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
6 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Cash flows from operating activities:    
Net loss $ (37,682) $ (86,230)
Adjustments to reconcile net loss to net cash used in operating activities:    
Depreciation 5,624 5,771
Amortization of intangible assets 10,723 2,551
Amortization of capitalized internal-use software costs 11,494 14,713
Amortization of debt discount and issuance costs 2,000 8,855
Amortization of deferred sales commission costs 18,839 16,857
Allowance for credit losses 1,781 645
Operating lease expense, net of accretion 5,925 6,795
Impairment of right-of-use assets 2,424 0
Stock-based compensation expense 52,435 72,422
Gain on debt extinguishment (16,106) 0
Gain on remeasurement of warrants (1,293) 0
Other (192) 853
Changes in assets and liabilities:    
Accounts receivable (4,579) (1,100)
Deferred sales commission costs (13,834) (23,489)
Other current and non-current assets 1,223 (835)
Accounts payable and accruals (14,733) (9,860)
Deferred revenue (4,367) 1,183
Net cash provided by operating activities 19,682 9,131
Cash flows from investing activities:    
Purchases of property and equipment (1,845) (2,358)
Capitalized internal-use software costs (4,328) (11,613)
Purchases of investments (27,669) (56,049)
Sales of investments  8,296 10,299
Proceeds from maturities of investments  36,641 30,967
Acquisition of business (1,250) 0
Net cash provided by (used in) investing activities 9,845 (28,754)
Cash flows from financing activities:    
Finance lease payments 0 (8)
Tax-related withholding of common stock 0 (128)
Proceeds from issuance of common stock under employee stock plans 1,713 10,328
Net proceeds from term loan 232,861 0
Repayment and exchange of convertible senior notes (190,553) 0
Repurchase of common stock (60,214) 0
Net cash (used in) provided by financing activities (16,193) 10,192
Effect of exchange rate changes on cash (12,207) (111)
Net increase (decrease) in cash, cash equivalents and restricted cash 1,127 (9,542)
Cash, cash equivalents and restricted cash, beginning of year 100,714 121,172
Cash, cash equivalents and restricted cash, end of year 101,841 111,630
Supplemental information:    
Income taxes paid 1,167 578
Interest paid 3,404 906
Warrants issued in connection with term loan 5,915 0
Shares issued in connection with term loan and convertible senior notes 5,082 0
Reconciliation of cash, cash equivalents, and restricted cash at the end of the period:    
Cash and cash equivalents 100,512 102,989
Restricted cash, current 511 8,179
Restricted cash, non-current 818 462
Total cash, cash equivalents and restricted cash $ 101,841 $ 111,630