v3.25.1
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2025
Apr. 30, 2024
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net income (loss) $ 17,853 $ (22,862)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation and amortization 17,538 16,525
Amortization of debt issuance costs 2,782 1,296
Amortization of contract acquisition costs 14,597 12,869
Stock-based compensation 119,365 109,174
Changes to allowance for credit losses and revenue reserves 1,107 (142)
Deferred income tax (15,851) (29,294)
Amortization of premium (accretion of discount) on available-for-sale securities, net (8,613) (9,492)
Gain on sale of strategic investments (3,671) (1,758)
Changes in fair value of strategic investments 341 (298)
Loss on retirement of debt 53,565 0
Other non-cash items affecting net income (loss) 56 (74)
Changes in operating assets and liabilities:    
Accounts receivable (10,609) 46,276
Unbilled accounts receivable (74,471) (33,955)
Prepaid expenses and other assets (21,384) (22,082)
Operating lease assets 1,983 6,106
Accounts payable 13,589 (10,538)
Accrued employee compensation (20,600) (25,604)
Deferred revenue (24,876) (28,012)
Lease liabilities (1,121) (5,136)
Other liabilities (5,544) (1,028)
Net cash provided by (used in) operating activities 56,036 1,971
CASH FLOWS FROM INVESTING ACTIVITIES:    
Purchases of available-for-sale securities (672,330) (453,441)
Maturities and sales of available-for-sale securities 529,887 416,299
Purchases of property and equipment (2,336) (4,668)
Capitalized software development costs (10,972) (9,429)
Acquisition of strategic investments (1,772) (336)
Sale of strategic investments 5,671 6,508
Acquisition of business, net of acquired cash (26,724) 0
Net cash provided by (used in) investing activities (178,576) (45,067)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Proceeds from issuance of convertible senior notes, net of issuance costs 671,840 0
Payment for the retirement of convertible senior notes (353,535) 0
Payment for the maturity of convertible senior notes (179,061) 0
Purchase of capped calls (58,788) 0
Payment of revolving credit facility costs (2,065) 0
Proceeds from issuance of common stock upon exercise of stock options 3,174 14
Net cash provided by (used in) financing activities 81,565 14
Effect of foreign exchange rate changes on cash, cash equivalents, and restricted cash 3,303 (2,915)
NET INCREASE (DECREASE) IN CASH, CASH EQUIVALENTS, AND RESTRICTED CASH (37,672) (45,997)
CASH, CASH EQUIVALENTS, AND RESTRICTED CASH—Beginning of period 549,184 406,790
CASH, CASH EQUIVALENTS, AND RESTRICTED CASH—End of period 511,512 360,793
SUPPLEMENTAL DISCLOSURES OF CASH FLOW INFORMATION:    
Cash paid for interest 7,000 5,000
Cash paid for income taxes, net of tax refunds 6,323 6,173
Accruals for purchase of property and equipment 802 638
Accruals for capitalized software development costs 807 712
Accruals for acquisition purchase consideration holdback $ 1,011 $ 0