XML 22 R8.htm IDEA: XBRL DOCUMENT v3.25.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2025
Jul. 31, 2024
Jul. 31, 2023
CASH FLOWS FROM OPERATING ACTIVITIES:      
Net income (loss) $ 69,804 $ (6,103) $ (111,855)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:      
Depreciation and amortization 23,758 22,309 24,838
Amortization of debt issuance costs 3,758 1,732 1,703
Amortization of contract acquisition costs 20,050 17,816 17,966
Stock-based compensation 161,556 146,460 142,842
Changes to allowance for credit losses and revenue reserves 526 526 (131)
Deferred income tax (31,780) (26,847) (27,516)
Amortization of premium (accretion of discount) on available-for-sale securities, net (10,326) (12,894) (4,858)
Gain on sale of strategic investments (3,671) (1,803) 0
Changes in fair value of strategic investments 2,130 1,957 802
Accelerated depreciation related to lease assignment 0 0 26,921
Gain from lease assignment 0 0 (18,419)
Loss on retirement of debt 53,565 0 0
Other non-cash items affecting net income (loss) 186 (74) 164
Changes in operating assets and liabilities:      
Accounts receivable (3,348) 12,631 (7,301)
Unbilled accounts receivable (38,930) 7,676 (13,435)
Prepaid expenses and other assets (47,211) (33,534) (22,613)
Operating lease assets 4,441 8,623 (19,000)
Accounts payable 11,399 (18,933) (6,080)
Accrued employee compensation 30,090 6,453 12,440
Deferred revenue 56,617 72,572 34,635
Lease liabilities (2,891) (7,389) 9,548
Other liabilities 1,144 4,570 (2,256)
Net cash provided by (used in) operating activities 300,867 195,748 38,395
CASH FLOWS FROM INVESTING ACTIVITIES:      
Purchases of available-for-sale securities (858,571) (615,935) (506,115)
Maturities and sales of available-for-sale securities 665,012 576,886 547,094
Purchases of property and equipment (5,741) (6,362) (5,821)
Capitalized software development costs (14,714) (12,165) (11,606)
Acquisition of strategic investments (1,772) (1,336) (10,840)
Sale of strategic investments 5,671 6,553 0
Acquisition of business, net of acquired cash (26,850) 0 0
Net cash provided by (used in) investing activities (236,965) (52,359) 12,712
CASH FLOWS FROM FINANCING ACTIVITIES:      
Proceeds from issuance of convertible senior notes, net of issuance costs 671,840 0 0
Payment for the retirement of convertible senior notes (353,535) 0 0
Payment for the maturity of convertible senior notes (179,061) 0 0
Purchase of capped calls (58,788) 0 0
Payment of revolving credit facility costs (2,065) 0 0
Proceeds from issuance of common stock upon exercise of stock options 3,902 1,055 228
Repurchase and retirement of common stock 0 0 (261,807)
Net cash provided by (used in) financing activities 82,293 1,055 (261,579)
Effect of foreign exchange rate changes on cash, cash equivalents, and restricted cash 3,715 (2,050) 2,576
NET INCREASE (DECREASE) IN CASH, CASH EQUIVALENTS, AND RESTRICTED CASH 149,910 142,394 (207,896)
CASH, CASH EQUIVALENTS, AND RESTRICTED CASH—Beginning of period 549,184 406,790 614,686
CASH, CASH EQUIVALENTS, AND RESTRICTED CASH—End of period 699,094 549,184 406,790
SUPPLEMENTAL DISCLOSURES OF CASH FLOW INFORMATION:      
Cash paid for interest 11,796 5,000 5,000
Cash paid for income taxes, net of tax refunds 7,557 8,919 5,167
Accruals for purchase of property and equipment 2,809 682 1,136
Accruals for capitalized software development costs 1,114 920 1,094
Accruals for business acquisition purchase consideration holdback $ 987 $ 0 $ 0