XML 58 R7.htm IDEA: XBRL DOCUMENT v3.20.1
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Mar. 31, 2020
Mar. 31, 2019
Mar. 31, 2018
Cash flows from operating activities:      
Net loss $ (172,368) $ (88,739) $ (104,497)
Adjustments to reconcile net loss to net cash (used in) provided by operating activities:      
Depreciation 9,360 8,748 8,171
Amortization of intangibles 8,842 6,175 5,033
Impairment of goodwill and long-lived assets 0 0 9,469
Amortization of capitalized software 19,025 9,748 2,513
Amortization of debt discount and issuance costs 14,045 1,355 0
Amortization of deferred sales commission costs 19,541 14,204 0
Provision for doubtful accounts 3,479 1,115 839
Operating lease expense, net of accretion 14,971    
Non-cash lease expense 0 4,802 0
Stock-based compensation expense 70,878 44,508 29,176
Deferred income tax expense 0 0 66,273
Gain on escrow settlement 0 0 (1,393)
Other 3,522 178 (162)
Changes in assets and liabilities:      
Accounts receivable (12,737) (5,393) (2,402)
Deferred sales commission costs (46,421) (25,286) 0
Other current and non-current assets (33,137) (4,337) (3,149)
Accounts payable and accruals 2,159 17,252 11,860
Deferred revenue 4,936 802 310
Net cash (used in) provided by operating activities (93,905) (14,868) 22,041
Cash flows from investing activities:      
Purchases of property and equipment (35,834) (9,096) (9,178)
Cost of capitalized software (31,573) (25,622) (12,486)
Proceeds from escrow settlement 0 0 1,393
Purchases of investments (42,223) (54,127) (115,224)
Sales of investments 36,515 54,642 27,841
Proceeds from maturities of investments 25,950 50,700 100,382
Acquisition of businesses, net of cash acquired (59,129) (5,625) 0
Net cash (used in) provided by investing activities (106,294) 10,872 (7,272)
Cash flows from financing activities:      
Finance lease payments (315)    
Finance lease payments   (949) (1,079)
Payment of contingent consideration 0 0 (150)
Repurchase of common stock, including for withholding taxes (6,550) (7,823) (22,440)
Proceeds from issuance of common stock under employee stock plans 14,330 12,202 7,229
Purchases of capped calls (9,288) (33,724) 0
Net proceeds from issuance of convertible senior notes 73,918 279,532 0
Net cash provided by (used in) financing activities 72,095 249,238 (16,440)
Effect of exchange rate changes on cash (168) (362) 444
Net increase (decrease) in cash, cash equivalents and restricted cash (128,272) 244,880 (1,227)
Cash, cash equivalents and restricted cash, beginning of year 284,683 39,803 41,030
Cash, cash equivalents and restricted cash, end of year 156,411 284,683 39,803
Supplemental and non-cash disclosures:      
Right-of-use assets obtained in exchange for new and modified operating lease liabilities 79,100    
Interest paid 1,553 0 36
Income taxes paid 934 356 38
Equipment acquired under capital leases 0 68 765
Reconciliation Of Cash, Cash Equivalents And Restricted Cash [Abstract]      
Total cash, cash equivalents and restricted cash $ 284,683 $ 39,803 $ 39,803