XML 17 R7.htm IDEA: XBRL DOCUMENT v3.21.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Oct. 31, 2021
Oct. 31, 2020
CASH FLOWS FROM OPERATING ACTIVITIES:    
Net income (loss) $ (51,276) $ (20,190)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation and amortization 8,434 10,537
Amortization of debt discount and issuance costs 3,524 3,335
Amortization of contract costs 3,001 2,154
Stock-based compensation 32,240 28,084
Changes to allowance for credit losses and revenue reserves 35 (43)
Deferred income tax (17,551) (11,827)
Amortization of premium (accretion of discount) on available-for-sale securities, net 1,601 1,390
Other non-cash items affecting net income (loss) 131 (10)
Changes in operating assets and liabilities:    
Accounts receivable 24,088 35,924
Unbilled accounts receivable (6,137) (25,214)
Prepaid expenses and other assets (7,046) (1,841)
Operating lease assets 2,879 (4,581)
Accounts payable (1,333) (2,198)
Accrued employee compensation (62,637) (13,513)
Deferred revenue (30,456) (23,646)
Lease liabilities (3,386) 6,772
Other liabilities (3,153) (840)
Net cash provided by (used in) operating activities (107,042) (15,707)
CASH FLOWS FROM INVESTING ACTIVITIES:    
Purchases of available-for-sale securities (241,247) (346,405)
Sales of available-for-sale securities 27,331 57,903
Maturities of available-for-sale securities 272,943 241,591
Purchases of property and equipment (3,333) (1,907)
Capitalized software development costs (3,783) (2,581)
Acquisition of strategic investments 0 (2,000)
Acquisition of business, net of acquired cash (43,830) 0
Net cash provided by (used in) investing activities 8,081 (53,399)
CASH FLOWS FROM FINANCING ACTIVITIES:    
Proceeds from issuance of common stock upon exercise of stock options 17 1,716
Repurchase and retirement of common stock (26,262) (5,000)
Net cash provided by (used in) financing activities (26,245) (3,284)
Effect of foreign exchange rate changes on cash, cash equivalents, and restricted cash (984) (743)
NET INCREASE (DECREASE) IN CASH, CASH EQUIVALENTS, AND RESTRICTED CASH (126,190) (73,133)
CASH, CASH EQUIVALENTS, AND RESTRICTED CASH—Beginning of period 384,910 366,969
CASH, CASH EQUIVALENTS, AND RESTRICTED CASH—End of period 258,720 293,836
RECONCILIATION OF CASH, CASH EQUIVALENTS, AND RESTRICTED CASH TO CONDENSED CONSOLIDATED BALANCE SHEETS    
Cash and cash equivalents 239,620 293,836
Restricted cash included in prepaid expenses and other current assets and other assets 19,100 0
Total cash, cash equivalents, and restricted cash 258,720 293,836
SUPPLEMENTAL DISCLOSURES OF CASH FLOW INFORMATION:    
Cash paid for interest 2,500 2,500
Cash paid for income taxes, net of tax refunds 717 990
Accruals for purchase of property and equipment 2,639 343
Accruals for capitalized software development costs $ 287 $ 112