v3.22.2.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended 12 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Dec. 31, 2021
Dec. 31, 2020
Cash flows from operating activities            
Net (loss) income $ (963,068) $ 89,930 $ (803,836) $ 331,950    
Adjustments to reconcile net (loss) income to net cash provided by operating activities:            
Stock-based compensation expense     166,533 90,047    
Depreciation and amortization expense     73,908 49,276    
Provision for expected credit losses     7,621 12,993    
Foreign exchange gain     (17,585) (7,159)    
Deferred benefit for income taxes     (25,955) (78,631)    
Goodwill impairment 1,045,022 0 1,045,022 0 $ 0  
Other non-cash expense, net     6,519 5,610    
Changes in operating assets and liabilities (net of impact of business combinations):            
Current assets     11,418 (49,098)    
Non-current assets     6,420 (4,067)    
Current liabilities     (88,831) (5,419)    
Non-current liabilities     10,628 15,590    
Net cash provided by operating activities     391,862 361,092    
Cash flows from investing activities            
Acquisition of businesses, net of cash acquired     0 (1,690,823)    
Cash paid for intangible assets     (6,400) (1,862)    
Purchases of property and equipment     (8,351) (5,740)    
Development of internal-use software     (16,912) (11,519)    
Purchases of marketable securities     (205,841) (343,902)    
Sales and maturities of marketable securities     207,568 518,985    
Net cash used in investing activities     (29,936) (1,534,861)    
Cash flows from financing activities            
Payment of tax obligations on vested equity awards     (48,018) (69,147)    
Repurchase of stock     (275,308) (234,427)    
Proceeds from exercise of stock options     8,212 10,867    
Proceeds from issuance of convertible senior notes     0 1,000,000    
Payment of debt issuance costs     (25) (12,849)    
Purchase of capped calls     0 (85,000)    
Settlement of convertible senior notes     (33) (43,863)    
Payments on finance lease obligations     (4,755) (7,321)    
Other financing, net     (2,483) (93)    
Net cash (used in) provided by financing activities     (322,410) 558,167    
Effect of exchange rate changes on cash     (29,722) (9,095)    
Net increase (decrease) in cash, cash equivalents, and restricted cash     9,794 (624,697)    
Cash, cash equivalents, and restricted cash at beginning of period     785,537 1,249,440 1,249,440  
Cash, cash equivalents, and restricted cash at end of period 795,331 624,743 795,331 624,743 785,537  
Supplemental cash flow disclosures:            
Cash paid for income taxes, net of refunds     25,071 66,105    
Supplemental non-cash disclosures:            
Deferred consideration (1) [1]     17,197 0    
Replacement share-based awards issued in conjunction with acquisitions     0 5,686    
Stock-based compensation capitalized in development of capitalized software and asset additions in exchange for liabilities     7,806 4,920    
Right-of-use assets obtained in exchange for new lease liabilities     236 1,241    
Debt issuance costs included in accounts payable and accrued expenses     0 476    
Reconciliation of cash, cash equivalents, and restricted cash            
Cash and cash equivalents 789,990 619,402 789,990 619,402 780,196 $ 1,244,099
Restricted cash 5,341 5,341 5,341 5,341 5,341 5,341
Total cash, cash equivalents, and restricted cash $ 795,331 $ 624,743 $ 795,331 $ 624,743 $ 785,537 $ 1,249,440
[1] See “Note 12—Stock-Based Compensation” for more information on the settlement of deferred consideration.