XML 18 R9.htm IDEA: XBRL DOCUMENT v3.23.3
Unaudited Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2023
Sep. 30, 2022
Operating Activities:    
Net loss $ (162,691) $ (97,113)
Adjustments to reconcile net loss to net cash and cash equivalents provided by operating activities, net of acquisitions    
Depreciation and amortization 53,508 42,625
Stock-based compensation 318,545 199,081
Restructuring charges 64,938  
Gain on strategic investments 0 (4,200)
Provision for (benefit from) deferred income taxes 4,943 (589)
Amortization of debt discount and issuance costs 1,477 1,509
Accretion of bond discount (30,213) (3,267)
Unrealized currency translation (1,380) 480
Changes in assets and liabilities    
Accounts receivable 13,178 (20,135)
Prepaid expenses and other assets (36,023) (8,863)
Deferred commission expense (54,335) (22,210)
Right-of-use assets 23,244 19,622
Accounts payable (5,165) 10,660
Accrued expenses and other liabilities 44,867 16,455
Operating lease liabilities (28,933) (14,589)
Deferred revenue 40,699 63,743
Net cash and cash equivalents provided by operating activities 246,659 183,209
Investing Activities:    
Purchases of investments (1,137,283) (1,258,919)
Maturities of investments 1,154,784 1,017,306
Sale of investments   124,998
Equity method investment (2,250) (1,900)
Purchases of intangible assets   (10,000)
Purchases of property and equipment (25,031) (31,384)
Purchases of strategic investments (9,250) (19,872)
Capitalization of software development costs (49,288) (31,350)
Net cash and cash equivalents used in investing activities (68,318) (211,121)
Financing Activities:    
Employee taxes paid related to the net share settlement of stock-based awards (7,571) (9,954)
Proceeds related to the issuance of common stock under stock plans 37,934 29,718
Proceeds from settlement of Convertible Note Hedges related to the 2022 Convertible Notes   60,483
Payment for settlement of 2022 Convertible Notes   (79,807)
Repayment of 2025 Convertible Notes attributable to the principal   (1,619)
Net cash and cash equivalents provided by (used in) financing activities 30,363 (1,179)
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (4,181) (16,263)
Net increase (decrease) increase in cash, cash equivalents and restricted cash 204,523 (45,354)
Cash, cash equivalents and restricted cash, beginning of period 334,175 380,042
Cash, cash equivalents and restricted cash, end of period 538,698 334,688
Supplemental cash flow disclosure:    
Cash paid for income taxes 11,465 3,883
Cash paid for interest 861 885
Right-of-use assets obtained in exchange for operating lease liabilities 4,668 5,136
Right-of-use asset reductions related to operating lease terminations (1,210)
Non-cash investing and financing activities:    
Capital expenditures incurred but not yet paid 7,257 1,118
Asset retirement obligations $ 201 $ 1,135