| Dec 31, 2021 | Dec 31, 2022 | Dec 31, 2023 | Dec 31, 2024 |
|---|
| Net loss | -343 | -453 | -443 | -345 |
|---|
| Depreciation and amortization | 4 | 8 | 14 | 22 |
|---|
| Net accretion of discounts on marketable securities | -2 | 9 | 43 | 38 |
|---|
| Amortization of debt issuance costs | 0 | 4 | 4 | 4 |
|---|
| Capitalized Contract Cost, Amortization | 27 | 37 | 46 | 54 |
|---|
| Non-cash operating lease costs | 11 | 9 | 4 | 4 |
|---|
| Lease abandonment charges | - | - | 16 | - |
|---|
| Share-Based Payment Arrangement, Noncash Expense | 156 | 278 | 350 | 396 |
|---|
| Deferred income taxes | 1 | -0 | 2 | 0 |
|---|
| Other | -2 | -1 | -2 | -3 |
|---|
| Accounts receivable | 33 | 42 | 54 | 87 |
|---|
| Deferred contract acquisition costs | -58 | 63 | 61 | 53 |
|---|
| Prepaid expenses and other assets | 31 | 18 | 10 | -1 |
|---|
| Accounts payable | 6 | 14 | -14 | 0 |
|---|
| Accrued expenses and other liabilities | 61 | 10 | 61 | 26 |
|---|
| Operating lease liabilities | -11 | -9 | -7 | -10 |
|---|
| Deferred revenue | 87 | 76 | 30 | 56 |
|---|
| Net cash provided by (used in) operating activities | -105 | -157 | -104 | 33 |
|---|
| Capitalization of internal-use software costs | 5 | 10 | 18 | 21 |
|---|
| Purchases of marketable securities | 664 | 2,052 | 1,587 | 1,540 |
|---|
| Sales of marketable securities | - | - | - | 15 |
|---|
| Maturities of marketable securities | 272 | 1,201 | 1,578 | 1,591 |
|---|
| Purchases of investments in privately-held companies | - | - | - | 2 |
|---|
| Purchases of property and equipment | 4 | 4 | 3 | 3 |
|---|
| Cash paid for business combinations, net of cash acquired | - | - | 56 | 116 |
|---|
| Net cash used in investing activities | -401 | -866 | -85 | -75 |
|---|
| Proceeds from Stock Options Exercised | 52 | 42 | 74 | 56 |
|---|
| Proceeds from issuance of common stock upon early exercise of unvested options | - | 0 | - | - |
|---|
| Repurchases of unvested common stock | - | 1 | - | - |
|---|
| Proceeds from Stock Plans | - | 41 | 29 | 24 |
|---|
| Net cash provided by financing activities | 1,845 | 82 | 102 | 80 |
|---|
| Effect of exchange rate changes on cash and cash equivalents | 0 | -0 | 0 | -2 |
|---|
| Net increase (decrease) in cash and cash equivalents | 1,339 | -941 | -86 | 36 |
|---|
| Income taxes | 2 | 6 | 8 | 12 |
|---|
| Share-Based Payment Arrangement, Amount Capitalized | 3 | 8 | 18 | 20 |
|---|
| Issuance of common stock in connection with a business combination | - | - | - | 3 |
|---|
| Right-of-Use Asset Obtained in Exchange for Operating Lease Liability | 1 | 1 | - | 3 |
|---|
| Vesting of early exercised stock options | 10 | 11 | 3 | 1 |
|---|