| Dec 31, 2018 | Dec 31, 2019 | Dec 31, 2020 | Dec 31, 2021 | Dec 31, 2022 | Dec 31, 2023 | Dec 31, 2024 |
|---|
| Net income | -485 | -53 | -256 | 336 | 553 | 454 | 452 |
|---|
| Depreciation and amortization | 167 | 174 | 159 | 151 | 157 | 170 | 137 |
|---|
| Stock-based compensation | 650 | 261 | 262 | 287 | 331 | 338 | 347 |
|---|
| Impairment of Real Estate | - | - | - | - | - | -155 | 0 |
|---|
| Amortization of debt issuance costs | - | - | - | 4 | 4 | 4 | 5 |
|---|
| Net loss (gain) on equity investments | - | - | 18 | - | 5 | - | -0 |
|---|
| Amortization of deferred commissions | - | - | 24 | 32 | 40 | 39 | 30 |
|---|
| Non-cash operating lease expense | - | - | - | - | 64 | 44 | 36 |
|---|
| Deferred taxes | - | - | - | - | -396 | 38 | -5 |
|---|
| Other | 2 | 17 | 3 | 4 | 1 | 1 | -4 |
|---|
| Trade and other receivables, net | -0 | 8 | 6 | 6 | 6 | 15 | 2 |
|---|
| Prepaid expenses and other current assets | 48 | 18 | 39 | 58 | 50 | 41 | 5 |
|---|
| Other assets | 11 | -61 | -62 | -50 | 10 | -23 | -6 |
|---|
| Accounts payable | -2 | 6 | -20 | 8 | 13 | 1 | -4 |
|---|
| Accrued and other current liabilities | 40 | 23 | -10 | -35 | 5 | -21 | -25 |
|---|
| Accrued compensation and benefits | 25 | 19 | 12 | 24 | -7 | -23 | -4 |
|---|
| Deferred revenue | 66 | 69 | 55 | 60 | 26 | 22 | 2 |
|---|
| Other non-current liabilities | 12 | -62 | -73 | -109 | -18 | -1 | -6 |
|---|
| Operating lease liabilities | - | - | - | - | -86 | -65 | -57 |
|---|
| Tenant improvement allowance reimbursement | - | 55 | 23 | 5 | 9 | 1 | - |
|---|
| Cash paid for lease termination | - | - | - | 32 | - | 28 | 15 |
|---|
| Net cash provided by operating activities | 425 | 529 | 571 | 730 | 797 | 784 | 894 |
|---|
| Capital expenditures | 63 | 136 | 80 | 22 | 34 | 24 | 23 |
|---|
| Purchase of intangible assets | 3 | 2 | 0 | 7 | 1 | 0 | 0 |
|---|
| Business combinations, net of cash acquired | - | 174 | - | 140 | 75 | - | 58 |
|---|
| Purchases of short-term investments | 850 | 775 | 756 | 1,138 | 571 | 209 | 62 |
|---|
| Proceeds from Sale of Short-Term Investments | 212 | 295 | 387 | 449 | 214 | 352 | 242 |
|---|
| Proceeds from maturities of short-term investments | 71 | 456 | 199 | 294 | 389 | 252 | 314 |
|---|
| Proceeds from sales of equity investments | - | - | - | - | 11 | - | - |
|---|
| Other | 1 | -16 | -17 | -40 | -20 | -24 | -31 |
|---|
| Net cash provided by (used in) investing activities | -634 | -320 | -234 | -525 | -48 | 395 | 444 |
|---|
| Proceeds from Lines of Credit | - | - | - | - | - | - | 1,000 |
|---|
| Payments of debt issuance costs | - | - | - | 24 | - | 0 | 50 |
|---|
| Payments for taxes related to net share settlement of restricted stock units and awards | 352 | 85 | 92 | 125 | 119 | 135 | 149 |
|---|
| Proceeds from Issuance of Common Stock | 26 | 2 | 2 | 7 | 1 | 3 | 1 |
|---|
| Principal payments on finance lease obligations | - | - | 90 | 110 | 128 | 127 | 129 |
|---|
| Common stock repurchases | - | - | 398 | 1,059 | 795 | 540 | 1,242 |
|---|
| Payment of acquisition-related indemnification holdback | - | - | - | - | - | - | 18 |
|---|
| Net cash used in financing activities | 301 | -177 | -578 | 16 | -1,042 | -799 | -587 |
|---|
| Effect of exchange rate changes on cash, cash equivalents, and restricted cash | - | 0 | 4 | -3 | -7 | 2 | -6 |
|---|
| Change in cash, cash equivalents, and restricted cash | - | 32 | -236 | 218 | -300 | 382 | 746 |
|---|
| Interest | 8 | 10 | 10 | 9 | 8 | 11 | 15 |
|---|
| Income taxes | 1 | 1 | 5 | 4 | 28 | 68 | 61 |
|---|
| Capital Expenditures Incurred but Not yet Paid | 7 | 20 | 8 | 6 | 3 | 2 | - |
|---|
| Property and equipment acquired under finance leases | - | - | - | - | - | 145 | 172 |
|---|