XML 18 R7.htm IDEA: XBRL DOCUMENT v3.23.3
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Sep. 30, 2023
Sep. 30, 2022
Operating activities    
Net income (loss) attributable to common stockholders $ 3,470 $ (17,424)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 87,085 73,900
Stock-based compensation 65,589 77,758
Provision for expected credit losses 11,416 12,217
Operating lease right-of-use assets and liabilities, net 5,783 3,207
Loss on extinguishment of debt 0 407
Net accretion of discounts and amortization of premiums on investments (2,262) (3,099)
Non-cash interest expense 5,958 5,898
Loss on impairment of long-lived assets 1,140 144
Deferred income taxes 561 247
Release of VAT reserve (819) 0
Other 484 3,582
Changes in operating assets and liabilities:    
Accounts receivable (16,777) (20,270)
Prepaid expenses and other current assets (7,569) (4,938)
Accounts payable and accrued expenses (15,870) (4,277)
Deferred revenue (561) (364)
Other assets and liabilities 16,798 5,330
Net cash provided by operating activities 154,426 132,318
Investing activities    
Capital expenditures - property and equipment (67,077) (79,679)
Capital expenditures - internal-use software development (4,075) (6,593)
Purchase of intangible assets 0 (4,915)
Cash paid for acquisition of businesses, net of cash acquired (99,340) (305,163)
Cash paid for asset acquisitions (2,500) (5,400)
Purchase of available-for-sale securities (352,313) (1,379,277)
Sales of available-for-sale securities 0 19,992
Maturities of available-for-sale securities 773,335 558,371
Purchased interest on available-for-sale securities (151) (1,556)
Proceeds from interest on available-for-sale securities 151 1,549
Proceeds from sale of equipment 236 967
Net cash provided by (used in) investing activities 248,266 (1,201,704)
Financing activities    
Payment of debt issuance costs 0 (1,520)
Proceeds related to the issuance of common stock under equity incentive plan 15,358 10,352
Proceeds from the issuance of common stock under employee stock purchase plan 2,797 5,245
Principal repayments of finance leases (947) 0
Employee payroll taxes paid related to net settlement of equity awards (15,594) (24,618)
Repurchase and retirement of common stock (474,950) (600,000)
Net cash used in financing activities (473,336) (610,541)
Effect of exchange rate changes on cash, cash equivalents, and restricted cash (55) (348)
Decrease in cash, cash equivalents and restricted cash (70,699) (1,680,275)
Cash, cash equivalents and restricted cash - beginning of period 151,807 1,715,425
Cash, cash equivalents and restricted cash - end of period 81,108 35,150
Supplemental disclosures of cash flow information:    
Cash paid for interest 595 349
Cash paid for taxes, net of refunds 2,034 1,669
Operating cash flows paid for operating leases 51,038 33,354
Non-cash investing and financing activities:    
Capitalized stock-based compensation 980 1,285
Property and equipment received but not yet paid, included in Accounts payable and Accrued other expenses 15,804 19,964
Debt issuance costs included in accounts payable and accrued liabilities 0 18
Operating right-of-use assets obtained in exchange for operating lease liabilities 65,828 67,463
Finance right-of-use assets obtained in exchange for finance lease liabilities $ 11,958 $ 0