XML 18 R7.htm IDEA: XBRL DOCUMENT v3.20.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Oct. 31, 2020
Oct. 31, 2019
Cash flows from operating activities    
Net loss $ (48,159) $ (91,742)
Adjustments to reconcile net loss to cash provided by (used in) operating activities:    
Depreciation and amortization 8,566 3,338
Amortization of deferred contract acquisition costs 18,173 13,921
Non-cash operating lease cost 3,434 3,014
Stock-based compensation expense 40,078 27,187
Non-cash acquisition expense settled with shares 0 8,834
Deferred income taxes (286) (671)
Foreign currency transaction gain (10,924) 0
Other (11) 323
Changes in operating assets and liabilities:    
Accounts receivable, net 63 4,850
Deferred contract acquisition costs (37,872) (17,025)
Prepaid expenses and other current assets 1,100 (819)
Other assets 4,040 1,906
Accounts payable (2,638) 4,204
Accrued expenses and other liabilities (1,061) 3,372
Accrued compensation and benefits (691) 16,214
Operating lease liabilities (3,535) (2,788)
Deferred revenue 34,432 24,478
Net cash provided by (used in) operating activities 4,709 (1,404)
Cash flows from investing activities    
Purchases of property and equipment (1,656) (3,230)
Business acquisition, net of cash acquired 0 (24,373)
Other 1,320 0
Net cash used in investing activities (336) (27,603)
Cash flows from financing activities    
Proceeds from issuance of ordinary shares upon exercise of stock options 45,230 39,568
Payment of withholding taxes related to acquisition expense settled in shares 0 (2,834)
Repayment of notes payable 0 (60)
Net cash provided by financing activities 45,230 36,674
Effect of exchange rate changes on cash, cash equivalents, and restricted cash 2,319 (399)
Net increase in cash, cash equivalents, and restricted cash 51,922 7,268
Cash, cash equivalents, and restricted cash, beginning of period 299,389 300,280
Cash, cash equivalents, and restricted cash, end of period 351,311 307,548
Supplemental disclosures of cash flow information    
Cash paid (refund received) for income taxes (1,708) 1,132
Cash paid for operating lease liabilities 4,363 3,083
Supplemental disclosures of non-cash investing and financing information    
Property and equipment included in accounts payable and accrued liabilities 10 444
Operating lease right-of-use assets for new lease obligations 575 11,296
Vesting of shares subject to repurchase 0 1,612
Issuance of ordinary shares for business combination 0 178,329
Assumption of stock option plan as consideration for business combination $ 0 $ 9,309