v3.26.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Apr. 30, 2024
Cash flows from operating activities      
Net income (loss) $ 367,766 $ (108,114) $ 61,720
Adjustments to reconcile net income (loss) to cash provided by operating activities:      
Depreciation and amortization 11,834 12,315 17,999
Amortization of premium and accretion of discount on marketable securities, net (3,428) (7,186) (8,808)
Amortization of deferred contract acquisition costs 111,112 96,688 78,549
Amortization of debt issuance costs 1,166 1,117 1,069
Non-cash operating lease cost 8,870 10,040 11,010
Stock-based compensation expense 298,435 257,782 239,137
Deferred income taxes (398,617) 57,431 (217,195)
Unrealized foreign currency transaction loss 790 2,211 1,930
Other 71 39 (34)
Changes in operating assets and liabilities, net of impact of business acquisitions:      
Accounts receivable, net (86,840) (48,903) (63,519)
Deferred contract acquisition costs (163,717) (106,691) (119,834)
Prepaid expenses and other current assets (11,664) (25,320) (2,875)
Other assets 4,975 (10,794) 1,906
Accounts payable (8,968) (8,952) (9,998)
Accrued expenses and other liabilities 11,213 9,845 18,144
Accrued compensation and benefits 25,043 (546) 17,357
Operating lease liabilities (9,767) (11,906) (12,391)
Deferred revenue 168,620 147,112 134,595
Net cash provided by operating activities 326,894 266,168 148,762
Cash flows from investing activities      
Purchases of property and equipment (5,092) (4,345) (3,450)
Business acquisitions, net of cash acquired (36,828) 0 (19,100)
Purchases of marketable securities (528,885) (549,574) (536,833)
Sales, maturities, and redemptions of marketable securities 597,397 435,251 271,423
Other (521) 0 0
Net cash provided by (used in) investing activities 26,071 (118,668) (287,960)
Cash flows from financing activities      
Proceeds from issuance of ordinary shares under employee stock purchase plan 25,015 23,093 19,135
Proceeds from issuance of ordinary shares upon exercise of stock options 2,804 17,854 20,919
Repurchases of ordinary shares (340,088) 0 0
Net cash (used in) provided by financing activities (312,269) 40,947 40,054
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (1,412) (322) (4,407)
Net increase (decrease) in cash, cash equivalents, and restricted cash 39,284 188,125 (103,551)
Cash, cash equivalents, and restricted cash, beginning of period 731,214 543,089 646,640
Cash, cash equivalents, and restricted cash, end of period 770,498 731,214 543,089
Supplemental disclosures of cash flow information      
Cash paid for interest 23,976 24,191 25,063
Cash paid for income taxes, net 28,011 21,994 24,219
Cash paid for operating lease liabilities 10,571 13,127 14,000
Supplemental disclosures of non-cash investing and financing information      
Property and equipment included in accounts payable 294 305 398
Operating lease right-of-use assets for new lease obligations 5,142 11,771 11,539
Acquisition-related indemnity holdback $ 8,343 $ 0 $ 3,000