v3.26.1
CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Unaudited) - USD ($)
$ in Thousands
9 Months Ended
Apr. 30, 2026
Apr. 30, 2025
Cash flows from operating activities:    
Net Income (Loss) $ 237,205 $ 149,716
Adjustments to reconcile net income to net cash provided by operating activities:    
Depreciation and amortization 53,581 54,451
Stock-based compensation 263,142 266,419
Amortization of debt discount and issuance costs 4,085 2,519
Operating lease cost, net of accretion 25,497 21,355
Inducement expense from partial repurchase of the 2027 Notes 0 11,347
Other (7,935) (4,690)
Changes in operating assets and liabilities:    
Accounts receivable, net (1,506) (14,084)
Deferred commissions 4,870 31,339
Prepaid expenses and other assets (92,429) (10,589)
Accounts payable 3,128 3,774
Accrued compensation and benefits (53,410) (10,528)
Accrued expenses and other liabilities (9,324) (5,601)
Operating leases, net (23,812) (23,640)
Deferred revenue 198,583 130,139
Net cash provided by operating activities 601,675 601,927
Cash flows from investing activities:    
Maturities of investments 607,475 272,846
Purchases of investments (679,600) (941,406)
Sales of investments 2,750 2,011
Purchases of property and equipment (38,570) (59,533)
Net cash used in investing activities (107,945) (726,082)
Cash flows from financing activities:    
Proceeds from sales of shares through employee equity incentive plans 61,447 68,525
Taxes paid related to net share settlement of equity awards (169,402) (212,919)
Proceeds from the issuance of convertible notes, net of issuance costs 0 848,010
Payment of third-party debt issuance costs 0 (3,448)
Partial repurchase of the 2027 Notes 0 (95,453)
Payment of revolver issuance costs 0 (2,794)
Repurchases of common stock (433,240) (257,859)
Other financing activities, net (2,637) (2,943)
Net cash provided by (used in) financing activities (543,832) 341,119
Net increase (decrease) in cash, cash equivalents and restricted cash (50,102) 216,964
Cash, cash equivalents and restricted cash—beginning of period 769,517 655,662
Cash, cash equivalents and restricted cash—end of period 719,415 872,626
Restricted cash [1] 603 27
Cash and cash equivalents—end of period 718,812 872,599
Supplemental disclosures of cash flow information:    
Cash paid for income taxes 25,972 25,550
Supplemental disclosures of non-cash investing and financing information:    
Purchases of property and equipment included in accounts payable and accrued and other liabilities 6,601 1,186
Unpaid taxes related to net share settlement of equity awards included in accrued expenses and other liabilities $ 1,672 $ 2,554
[1] Included within prepaid expenses and other current assets and other assets—non-current in the condensed consolidated balance sheets.