v3.24.2.u1
Unaudited Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Operating Activities:    
Net loss $ (8,501) $ (148,523)
Adjustments to reconcile net loss to net cash and cash equivalents provided by operating activities, net of acquisitions    
Depreciation and amortization 43,438 32,999
Stock-based compensation 240,116 211,038
Restructuring charges   64,938
Gain on strategic investments (18,456)  
Impairment of strategic investments 4,094  
(Benefit from) provision for deferred income taxes (212) 4,802
Amortization of debt discount and issuance costs 1,002 980
Accretion of bond discount (23,080) (18,777)
Unrealized currency translation (948) (122)
Changes in assets and liabilities    
Accounts receivable 18,422 21,626
Prepaid expenses and other assets (27,228) (47,445)
Deferred commission expense (40,084) (37,034)
Right-of-use assets 20,384 20,972
Accounts payable (218) (17,814)
Accrued expenses and other liabilities 15,049 46,527
Operating lease liabilities (23,153) (17,985)
Deferred revenue 44,291 41,431
Net cash and cash equivalents provided by operating activities 244,916 157,613
Investing Activities:    
Purchases of investments (651,717) (731,363)
Maturities of investments 849,595 729,834
Purchases of property and equipment (14,082) (14,189)
Purchases of strategic investments (3,627) (6,000)
Capitalization of software development costs (43,075) (31,595)
Proceeds from net working capital settlement 1,933  
Net cash and cash equivalents provided by (used) in investing activities 139,027 (53,313)
Financing Activities:    
Employee taxes paid related to the net share settlement of stock-based awards (13,484) (4,102)
Proceeds related to the issuance of common stock under stock plans 45,244 24,550
Net cash and cash equivalents provided by financing activities 31,760 20,448
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (5,815) 1,448
Net increase (decrease) in cash, cash equivalents and restricted cash 409,888 126,196
Cash, cash equivalents and restricted cash, beginning of period 392,040 334,175
Cash, cash equivalents and restricted cash, end of period 801,928 460,371
Supplemental cash flow disclosure:    
Cash paid for income taxes 7,165 9,467
Cash paid for interest 861 861
Right-of-use assets obtained in exchange for operating lease liabilities 503 4,674
Right-of-use asset reductions related to operating lease terminations   (1,217)
Non-cash investing and financing activities:    
Capital expenditures incurred but not yet paid $ 2,008 9,628
Asset retirement obligations   $ (466)