XML 22 R7.htm IDEA: XBRL DOCUMENT v3.24.3
CONSOLIDATED STATEMENTS OF CASH FLOWS - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2024
Jul. 31, 2023
Jul. 31, 2022
Cash flows from operating activities:      
Net Income (Loss) $ (124,775) $ (254,560) $ (798,946)
Adjustments to reconcile net loss to net cash (used in) provided by operating activities      
Depreciation and amortization 73,199 76,388 87,952
Stock-based compensation 333,833 311,745 343,246
Change in fair value of derivative liability 0 0 198,038
Loss on debt extinguishment 0 0 64,910
Amortization of debt discount and issuance cost 41,600 42,636 40,233
Conversion of convertible senior notes attributable to debt discount and issuance costs 107,877 0 0
Operating lease cost, net of accretion 31,462 35,357 36,905
Early exit of lease-related assets 0 (1,040) 597
Gain On Frame Divestiture 0 (10,957) 0
Non-cash interest expense 18,550 19,757 19,270
Other (13,312) (11,388) 9,282
Changes in operating assets and liabilities:      
Accounts receivable, net (53,811) (25,885) 60,998
Deferred commissions (820) 9,599 (24,170)
Prepaid expenses and other assets 46,623 (59,243) (36,166)
Accounts payable 14,749 (9,600) (1,461)
Accrued compensation and benefits 51,923 (6,027) (19,674)
Accrued expenses and other liabilities (82,632) 53,191 5,457
Operating leases, net (30,475) (40,257) (46,773)
Deferred revenue 258,940 142,687 127,845
Net cash provided by operating activities 672,931 272,403 67,543
Cash flows from investing activities:      
Maturities of investments 774,237 965,040 1,058,116
Purchases of investments (871,259) (955,330) (1,081,246)
Sales of investments 706,363 0 17,999
Proceeds from Frame divestiture 0 5,909 0
Payments for acquisitions, net of cash acquired (4,500) 0 0
Purchases of property and equipment (75,252) (65,404) (49,058)
Net cash (used in) provided by investing activities 529,589 (49,785) (54,189)
Cash flows from financing activities:      
Repayment of convertible notes (817,633) (145,704) 0
Payments of debt extinguishment costs 0 0 (14,709)
Proceeds from unwinding of convertible note hedges 0 0 39,880
Payments for unwinding of warrants 0 0 (18,390)
Proceeds from sales of shares through employee equity incentive plans 51,571 46,501 67,826
Taxes paid related to net share settlement of equity awards (161,552) (10,214) 0
Proceeds from the issuance of convertible notes, net of issuance costs 0 0 88,687
Repurchases of common stock (131,139) 0 (58,570)
Payment of finance lease obligations (3,876) (3,292) (1,089)
Net cash provided by (used in) financing activities (1,062,629) (112,709) 103,635
Net increase in cash, cash equivalents and restricted cash 139,891 109,909 116,989
Cash, cash equivalents and restricted cash—beginning of period 515,771 405,862 288,873
Cash, cash equivalents and restricted cash—end of period 655,662 515,771 405,862
Restricted cash [1] 392 2,842 3,012
Cash and cash equivalents—end of period 655,270 512,929 402,850
Supplemental disclosures of cash flow information:      
Cash paid for income taxes 23,647 30,781 20,353
Supplemental disclosures of non-cash investing and financing information:      
Purchases of property and equipment included in accounts payable and accrued liabilities 19,275 15,754 17,139
Forfeited paid-in-kind interest recognized in equity upon note conversion $ 6,019 $ 0 $ 0
[1] Included within other assets—non-current in the consolidated balance sheets.