XML 18 R7.htm IDEA: XBRL DOCUMENT v3.22.4
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
9 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Cash flows from operating activities:    
Net loss $ (63,712) $ (129,801)
Adjustments to reconcile net loss to net cash provided by operating activities:    
Depreciation 8,056 8,488
Amortization of intangible assets 15,954 3,630
Amortization of capitalized internal-use software costs 16,397 21,968
Impairment of capitalized software 3,729 0
Amortization of debt discount and issuance costs 3,136 13,780
Amortization of deferred sales commission costs 28,533 25,603
Allowance for credit losses 1,984 748
Operating lease expense, net of accretion 8,667 10,162
Stock-based compensation expense 73,516 106,159
Gain on debt extinguishment (18,250) 0
Gain on remeasurement of warrants (522) 0
Impairment of right-of-use assets 2,424 0
Gain on sale of assets (1,826) 0
Other (65) 1,305
Changes in assets and liabilities:    
Accounts receivable (236) 1,553
Deferred sales commission costs (23,473) (34,685)
Other current and non-current assets 4,715 476
Accounts payable and accruals (22,858) (13,210)
Deferred revenue (1,005) 1,978
Net cash provided by operating activities 35,164 18,154
Cash flows from investing activities:    
Purchases of property and equipment (2,685) (2,915)
Proceeds from sale of intangible assets 1,000 0
Capitalized internal-use software costs (6,768) (15,582)
Purchases of investments (42,899) (65,141)
Sales of investments  8,296 11,799
Proceeds from maturities of investments  44,739 41,717
Acquisition of businesses, net of cash acquired (1,250) 0
Net cash provided by (used in) investing activities 433 (30,122)
Cash flows from financing activities:    
Finance lease payments 0 (12)
Tax-related withholding of common stock 0 (310)
Proceeds from issuance of common stock under employee stock plans 1,710 10,637
Net proceeds from term loan 234,015 0
Repayment and exchange of convertible senior notes (211,786) 0
Repurchase of common stock (60,214) (44,976)
Net proceeds from issuance of convertible senior notes 0 134,620
Net cash provided by (used in) financing activities (36,275) 99,959
Effect of exchange rate changes on cash (5,747) (170)
Net increase (decrease) in cash, cash equivalents and restricted cash (6,425) 87,821
Cash, cash equivalents and restricted cash, beginning of year 100,714 121,172
Cash, cash equivalents and restricted cash, end of year 94,289 208,993
Supplemental information:    
Income taxes paid 1,518 1,032
Interest paid 9,063 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 92,960 200,352
Restricted cash, current 511 8,179
Restricted cash, non-current 818 462
Total cash, cash equivalents and restricted cash $ 94,289 $ 208,993