| Dec 31, 2021 | Dec 31, 2022 | Dec 31, 2023 | Dec 31, 2024 |
|---|
| Consolidated net loss | -503 | -934 | -1,159 | -941 |
|---|
| Depreciation and amortization expense | 76 | 130 | 208 | 226 |
|---|
| Stock-based compensation expense | 342 | 589 | 868 | 1,016 |
|---|
| Operating lease non-cash expense | 44 | 69 | 97 | 118 |
|---|
| (Accretion)/amortization on marketable securities, net | - | - | 73 | 83 |
|---|
| Amortization of debt issuance costs | 0 | 1 | 1 | 1 |
|---|
| Impairment Expense, (Gain) Loss On Investment And Other Asset Sales, And Other, Net | - | - | 9 | 3 |
|---|
| Accounts receivable | 61 | 72 | 126 | 110 |
|---|
| Prepaid expenses and other current assets | 14 | 34 | 13 | 3 |
|---|
| Deferred cost of revenue | 173 | 102 | 140 | 166 |
|---|
| Other assets | 1 | 1 | 6 | 3 |
|---|
| Accounts payable | 23 | 10 | -3 | -8 |
|---|
| Accrued expenses and other current liabilities | 59 | 20 | 9 | -3 |
|---|
| Developer exchange liability | 83 | 68 | 83 | 25 |
|---|
| Deferred revenue | 820 | 662 | 742 | 795 |
|---|
| Operating lease liabilities | -35 | -48 | -50 | -77 |
|---|
| Other long-term liabilities | -1 | 10 | 11 | 31 |
|---|
| Net cash and cash equivalents provided by operating activities | 659 | 369 | 458 | 822 |
|---|
| Acquisition of property and equipment | 93 | 426 | 321 | 180 |
|---|
| Payments related to business combination, net of cash acquired | 46 | 13 | 4 | 3 |
|---|
| Purchases of intangible assets | 8 | 2 | 14 | 1 |
|---|
| Purchases of investments | - | - | 4,592 | 4,643 |
|---|
| Maturities of investments | - | - | 1,643 | 3,352 |
|---|
| Sales of investments | - | - | 462 | 622 |
|---|
| Net cash and cash equivalents used in investing activities | -147 | -441 | -2,825 | -852 |
|---|
| Proceeds from issuance of common stock | 76 | 46 | 53 | 70 |
|---|
| Payment of withholding taxes related to net share settlement of restricted stock units | - | 0 | - | - |
|---|
| Financing payments related to acquisitions | - | 0 | 1 | 4 |
|---|
| Proceeds from debt issuances | - | - | 15 | - |
|---|
| Payment of debt issuance costs | 2 | 0 | - | - |
|---|
| Other financing activities | - | 2 | - | - |
|---|
| Net cash and cash equivalents provided by financing activities | 1,598 | 44 | 67 | 66 |
|---|
| Effect of exchange rate changes on cash and cash equivalents | - | 1 | 1 | -3 |
|---|
| Net increase/(decrease) in cash and cash equivalents | 2,110 | -27 | -2,299 | 33 |
|---|
| Cash paid for interest | - | 39 | 39 | 39 |
|---|
| Income Taxes Paid | - | 1 | 3 | 1 |
|---|
| Capital Expenditures Incurred but Not yet Paid | 50 | 57 | 31 | 27 |
|---|
| Intangible asset purchases in accounts payable | - | - | 1 | - |
|---|
| Stock Issued | 31 | 10 | - | - |
|---|