XML 26 R8.htm IDEA: XBRL DOCUMENT v3.25.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Apr. 30, 2025
Apr. 30, 2024
Apr. 30, 2023
Cash flows from operating activities      
Net (loss) income $ (108,114) $ 61,720 $ (236,161)
Adjustments to reconcile net (loss) income to cash provided by operating activities:      
Depreciation and amortization 12,315 17,999 20,233
Amortization of premium and accretion of discount on marketable securities, net (7,186) (8,808) (772)
Amortization of deferred contract acquisition costs 96,688 78,549 68,900
Amortization of debt issuance costs 1,117 1,069 1,023
Non-cash operating lease cost 10,040 11,010 10,880
Asset impairment charges 0 0 6,242
Stock-based compensation expense 257,782 239,137 204,039
Deferred income taxes 57,431 (217,195) (2,007)
Unrealized foreign currency transaction loss (gain) 2,211 1,930 (1,386)
Other 39 (34) 44
Changes in operating assets and liabilities, net of impact of business acquisitions:      
Accounts receivable, net (48,903) (63,519) (46,353)
Deferred contract acquisition costs (106,691) (119,834) (102,017)
Prepaid expenses and other current assets (25,320) (2,875) 1,323
Other assets (10,794) 1,906 8,525
Accounts payable (8,952) (9,998) 6,304
Accrued expenses and other liabilities 9,845 18,144 4,310
Accrued compensation and benefits (546) 17,357 8,324
Operating lease liabilities (11,906) (12,391) (11,405)
Deferred revenue 147,112 134,595 95,616
Net cash provided by operating activities 266,168 148,762 35,662
Cash flows from investing activities      
Purchases of property and equipment (4,345) (3,450) (2,684)
Business acquisitions, net of cash acquired 0 (19,100) 0
Purchases of marketable securities (549,574) (536,833) (270,268)
Sales, maturities, and redemptions of marketable securities 435,251 271,423 0
Net cash used in investing activities (118,668) (287,960) (272,952)
Cash flows from financing activities      
Proceeds from issuance of ordinary shares under employee stock purchase plan 23,093 19,135 0
Proceeds from issuance of ordinary shares upon exercise of stock options 17,854 20,919 17,471
Net cash provided by financing activities 40,947 40,054 17,471
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (322) (4,407) 2,822
Net increase (decrease) in cash, cash equivalents, and restricted cash 188,125 (103,551) (216,997)
Cash, cash equivalents, and restricted cash, beginning of period 543,089 646,640 863,637
Cash, cash equivalents, and restricted cash, end of period 731,214 543,089 646,640
Supplemental disclosures of cash flow information      
Cash paid for interest 24,191 25,063 24,136
Cash paid for income taxes, net 21,994 24,219 11,581
Cash paid for operating lease liabilities 13,127 14,000 13,136
Supplemental disclosures of non-cash investing and financing information      
Property and equipment included in accounts payable 305 398 121
Operating lease right-of-use assets for new lease obligations 11,771 11,539 10,902
Acquisition-related indemnity holdback $ 0 $ 3,000 $ 0