XML 21 R8.htm IDEA: XBRL DOCUMENT v3.22.0.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Cash flows from operating activities:      
Net income $ 651,642 $ 557,054 $ 478,035
Adjustments to reconcile net income to net cash provided by operating activities:      
Depreciation and amortization 550,632 478,389 440,674
Stock-based compensation 202,759 197,411 187,140
(Benefit) provision for deferred income taxes (47,794) (33,821) 933
Amortization of debt discount and issuance costs 66,025 62,823 45,857
Other non-cash reconciling items, net 21,823 23,027 8,528
Changes in operating assets and liabilities, net of effects of acquisitions:      
Accounts receivable (24,096) (90,381) (64,471)
Prepaid expenses and other current assets 4,034 (25,395) 11,689
Accounts payable and accrued expenses 31,523 39,211 8,769
Deferred revenue (2,865) (1,318) (13,547)
Other current liabilities (20,404) 18,101 (17,230)
Other non-current assets and liabilities (28,716) (10,101) (28,073)
Net cash provided by operating activities 1,404,563 1,215,000 1,058,304
Cash flows from investing activities:      
Cash paid for acquisitions, net of cash acquired (598,825) (127,999) (165,329)
Cash paid for asset acquisition 0 (36,376) 0
Cash paid for equity method investment 0 0 (36,008)
Purchases of property and equipment (328,969) (514,313) (359,667)
Capitalization of internal-use software development costs (216,261) (217,559) (202,410)
Purchases of short-and long-term marketable securities (932,604) (1,782,849) (1,990,148)
Proceeds from sales of short-and long-term marketable securities 442,133 30,350 856
Proceeds from maturities and redemptions of short-and long-term marketable securities 991,949 1,597,651 1,084,373
Other, net (4,322) 8,121 399
Net cash used in investing activities (646,899) (1,042,974) (1,667,934)
Cash flows from financing activities:      
Proceeds from the issuance of convertible senior notes 0 0 1,135,629
Proceeds from the issuance of warrants 0 0 185,150
Purchase of note hedge related to convertible senior notes 0 0 (312,225)
Repayment of convertible senior notes 0 0 (690,000)
Proceeds related to the issuance of common stock under stock plans 59,632 59,775 57,112
Employee taxes paid related to net share settlement of stock-based awards (99,112) (89,828) (75,266)
Repurchases of common stock (522,255) (193,588) (334,519)
Other, net (268) 0 (1,558)
Net cash used in financing activities (562,003) (223,641) (35,677)
Effects of exchange rate changes on cash, cash equivalents and restricted cash (11,376) 10,935 2,466
Net increase (decrease) in cash, cash equivalents and restricted cash 184,285 (40,680) (642,841)
Cash, cash equivalents and restricted cash at beginning of year 353,466 394,146 1,036,987
Cash, cash equivalents and restricted cash at end of year 537,751 353,466 394,146
Supplemental disclosure of cash flow information:      
Cash paid for income taxes, net of refunds received in the years ended December 31, 2021, 2020 and 2019 of $14,808, $17,491 and $3,731, respectively 100,533 79,163 73,898
Cash paid for interest expense 5,750 5,954 1,438
Cash paid for operating lease liabilities 224,085 201,856 153,818
Non-cash activities:      
Operating lease right-of-use assets obtained in exchange for operating lease liabilities 218,753 200,735 529,376
Purchases of property and equipment and capitalization of internal-use software development costs included in accounts payable and accrued expenses 63,309 75,666 88,238
Capitalization of stock-based compensation 36,545 38,333 35,905
Reconciliation of cash, cash equivalents and restricted cash:      
Cash and cash equivalents 536,725 352,917 393,745
Restricted cash 1,026 549 401
Cash, cash equivalents and restricted cash $ 537,751 $ 353,466 $ 394,146