XML 25 R7.htm IDEA: XBRL DOCUMENT v3.21.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Mar. 31, 2021
Mar. 31, 2020
Mar. 31, 2019
Cash flows from operating activities:      
Net loss $ (165,585) $ (172,368) $ (88,739)
Adjustments to reconcile net loss to net cash used in operating activities:      
Depreciation 11,297 9,360 8,748
Amortization of intangible assets 6,886 8,842 6,175
Amortization of capitalized internal-use software costs 26,934 19,025 9,748
Amortization of debt discount and issuance costs 16,898 14,045 1,355
Amortization of deferred sales commission costs 27,817 19,541 14,204
Allowance for credit losses 4,471 3,479 1,115
Operating lease expense, net of accretion 15,210 14,971 0
Non-cash lease expense 0 0 4,802
Stock-based compensation expense 107,638 70,878 44,508
Other 1,521 3,522 178
Changes in assets and liabilities:      
Accounts receivable (14,869) (12,737) (5,393)
Deferred sales commission costs (52,960) (46,421) (25,286)
Other current and non-current assets (3,963) (33,137) (4,337)
Accounts payable and accruals (10,033) 2,159 17,252
Deferred revenue 14,672 4,936 802
Net cash used in operating activities (14,066) (93,905) (14,868)
Cash flows from investing activities:      
Purchases of property and equipment (6,430) (35,834) (9,096)
Capitalized internal-use software costs (28,816) (31,573) (25,622)
Purchases of investments (52,172) (42,223) (54,127)
Sales of investments  1,018 36,515 54,642
Proceeds from maturities of investments  60,479 25,950 50,700
Acquisition of businesses, net of cash acquired (10,400) (59,129) (5,625)
Net cash (used in) provided by investing activities (36,321) (106,294) 10,872
Cash flows from financing activities:      
Finance lease payments (78) (315) (949)
Tax-related withholding of common stock (69) (6,550) (7,823)
Proceeds from issuance of common stock under employee stock plans 13,339 14,330 12,202
Purchases of capped calls 0 (9,288) (33,724)
Net proceeds from issuance of convertible senior notes 0 73,918 279,532
Net cash provided by financing activities 13,192 72,095 249,238
Effect of exchange rate changes on cash 1,956 (168) (362)
Net increase (decrease) in cash, cash equivalents and restricted cash (35,239) (128,272) 244,880
Cash, cash equivalents and restricted cash, beginning of year 156,411 284,683 39,803
Cash, cash equivalents and restricted cash, end of year 121,172 156,411 284,683
Supplemental Cash Flow Information [Abstract]      
Right-of-use assets obtained in exchange for new and modified operating lease liabilities 0 79,100 0
Interest paid 1,813 1,553 0
Income taxes paid 555 934 356
Equipment acquired under capital leases 0 0 68
Reconciliation Of Cash, Cash Equivalents And Restricted Cash [Abstract]      
Total cash, cash equivalents and restricted cash $ 121,172 $ 284,683 $ 284,683