XML 30 R8.htm IDEA: XBRL DOCUMENT v3.22.2.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Jul. 31, 2022
Jul. 31, 2021
Jul. 31, 2020
CASH FLOWS FROM OPERATING ACTIVITIES:      
Net income (loss) $ (180,431) $ (66,507) $ (27,198)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:      
Depreciation and amortization 33,540 36,955 42,641
Amortization of debt discount and issuance costs 14,391 13,617 12,886
Amortization of contract costs 14,456 11,442 9,892
Stock-based compensation 137,011 115,009 101,817
Changes to allowance for credit losses and revenue reserves 2,597 226 367
Deferred income tax (54,115) (35,789) (11,859)
Amortization of premium (accretion of discount) on available-for-sale securities, net 5,498 6,567 (1,882)
Changes in fair value of strategic investments (1,545) 0 10,672
Other non-cash items affecting net income (loss) 63 863 739
Changes in operating assets and liabilities:      
Accounts receivable (42,545) 10,820 23,878
Unbilled accounts receivable 18,106 (19,194) (38,125)
Prepaid expenses and other assets (23,390) (16,764) (18,564)
Operating lease assets 7,160 6,350 (10,784)
Accounts payable 13,580 3,627 (1,209)
Accrued employee compensation (8,942) 41,526 (15,624)
Deferred revenue 31,564 12,940 1,165
Lease liabilities (9,637) (3,346) 18,678
Other liabilities 4,699 (6,755) 15,576
Net cash provided by (used in) operating activities (37,940) 111,587 113,066
CASH FLOWS FROM INVESTING ACTIVITIES:      
Purchases of available-for-sale securities (519,536) (1,033,095) (1,280,755)
Sales of available-for-sale securities 74,552 123,234 134,050
Maturities of available-for-sale securities 834,362 1,005,290 1,168,720
Purchases of property and equipment (9,510) (19,008) (21,377)
Capitalized software development costs (12,266) (9,846) (4,283)
Acquisition of strategic investments (11,560) (2,384) (2,156)
Acquisition of business, net of acquired cash (43,830) 0 0
Net cash provided by (used in) investing activities 312,212 64,191 (5,801)
CASH FLOWS FROM FINANCING ACTIVITIES:      
Proceeds from issuance of common stock upon exercise of stock options 116 1,932 4,955
Repurchase and retirement of common stock (37,451) (161,319) 0
Net cash provided by (used in) financing activities (37,335) (159,387) 4,955
Effect of foreign exchange rate changes on cash, cash equivalents, and restricted cash (7,161) 1,550 648
NET INCREASE (DECREASE) IN CASH, CASH EQUIVALENTS, AND RESTRICTED CASH 229,776 17,941 112,868
CASH, CASH EQUIVALENTS, AND RESTRICTED CASH—Beginning of period 384,910 366,969 254,101
CASH, CASH EQUIVALENTS, AND RESTRICTED CASH—End of period 614,686 384,910 366,969
SUPPLEMENTAL DISCLOSURES OF CASH FLOW INFORMATION:      
Cash paid for interest 5,000 5,000 5,000
Cash paid for income taxes, net of tax refunds 4,323 4,155 4,888
Accruals for purchase of property and equipment 1,114 1,676 343
Accruals for capitalized cloud software development costs 1,250 845 406
Accrual for shares repurchased $ 0 $ 1,230 $ 0