| Dec 31, 2020 | Dec 31, 2021 | Dec 31, 2022 | Dec 31, 2023 | Dec 31, 2024 |
|---|
| Net loss | -352,617 | -117 | -136 | -183 | -190 |
|---|
| Depreciation and amortization | - | 11 | 30 | 30 | 34 |
|---|
| Stock-based compensation expense | - | 33 | 56 | 53 | 57 |
|---|
| (Gain) loss on disposal of assets | - | - | - | - | 3 |
|---|
| Loss on extinguishment of long-term debt | - | -0 | - | -2 | -1 |
|---|
| Amortization of Debt Issuance Costs | - | 2 | 3 | 3 | 3 |
|---|
| Noncash lease expense | - | - | - | - | 6 |
|---|
| Adjustment of Warrants Granted for Services | - | 15 | -13 | - | - |
|---|
| Change in the fair value of contingent consideration | - | - | - | 1 | -0 |
|---|
| Accretion of marketable securities purchased at a discount | - | - | 1 | 5 | 3 |
|---|
| Deferred income taxes | - | -10 | -1 | 1 | 1 |
|---|
| Accounts receivable, net | - | 8 | 9 | -1 | 1 |
|---|
| Contract assets | - | -2 | 8 | 4 | 50 |
|---|
| Inventories | - | 13 | 26 | 16 | 12 |
|---|
| Prepaids and other current assets | - | 11 | 15 | 15 | -8 |
|---|
| Other non-current assets | - | 5 | 7 | 11 | 13 |
|---|
| Trade payables | - | -5 | -2 | 16 | 25 |
|---|
| Accrued expenses | 217,395 | 3 | -4 | -3 | 9 |
|---|
| Employee benefits payable | - | -0 | 2 | 5 | 5 |
|---|
| Contract liabilities | - | 28 | 23 | 31 | 77 |
|---|
| Other current liabilities | - | 1 | 1 | -8 | 3 |
|---|
| Non-current lease liabilities | - | -2 | -4 | -5 | -6 |
|---|
| Other non-current liabilities | - | 0 | 1 | 0 | 2 |
|---|
| Net cash used in operating activities | -506,715 | -72 | -107 | -99 | -49 |
|---|
| Purchases of property, equipment and software | - | 26 | 42 | 55 | 67 |
|---|
| Proceeds on disposal of assets, net | - | - | - | - | 13 |
|---|
| Cash paid for business combinations and asset acquisitions, net of acquired cash and restricted cash | - | 66 | 66 | 19 | - |
|---|
| Purchases of marketable securities | - | - | 260 | - | 162 |
|---|
| Maturities of marketable securities | - | - | 22 | - | 116 |
|---|
| Sale of marketable securities | - | - | - | -20 | -2 |
|---|
| Net cash (used in) provided by investing activities | -320,000,000 | -92 | -346 | 12 | -98 |
|---|
| Proceeds from Stock Options Exercised | - | 3 | 4 | 2 | 4 |
|---|
| Proceeds from Employee Stock Purchase Plan | - | - | 4 | 5 | 6 |
|---|
| Proceeds from sale of employees restricted stock units to cover taxes | - | - | 31 | 16 | 35 |
|---|
| Minimum tax withholding paid on behalf of employees for restricted stock units | - | - | 31 | 16 | 35 |
|---|
| Tax payment for net settled option shares | - | - | 0 | - | - |
|---|
| Payment of contingent consideration | - | - | 6 | 1 | - |
|---|
| Finance lease principal payments | - | - | 0 | 0 | 0 |
|---|
| Purchase of capped calls related to issuance of convertible senior notes | - | - | - | - | 43 |
|---|
| Proceeds from issuance of convertible senior notes | - | - | - | - | 355 |
|---|
| Proceeds from secured term loan | - | 99 | - | 110 | - |
|---|
| Repayments on secured term loans | - | - | - | 108 | 52 |
|---|
| Payment of debt issuance costs | - | - | - | 1 | 12 |
|---|
| Net cash provided by financing activities | 321 | 800 | 2 | 7 | 257 |
|---|
| Effect of exchange rate changes on cash and cash equivalents | - | 2 | 4 | 0 | -1 |
|---|
| Net increase (decrease) in cash and cash equivalents and restricted cash | 865,903 | 638 | -446 | -79 | 109 |
|---|
| Cash paid for interest | - | 4 | 11 | 16 | 16 |
|---|
| Income Taxes Paid, Net | - | 2 | 3 | -1 | 0 |
|---|
| Unpaid Purchases Of Property Equipment And Software | - | 1 | 2 | 3 | 8 |
|---|
| Right-of-Use Asset Obtained in Exchange for Operating Lease Liability | - | 4 | 9 | 30 | 3 |
|---|
| Early termination of right-of-use assets | - | - | - | 1 | - |
|---|
| Net exercise of public and private warrants into common stock | - | - | 45 | - | - |
|---|
| Issuance of common stock for payment of accrued bonus | - | - | 1 | - | 2 |
|---|
| Issuance of common stock warrants in connection with Loan Agreement | - | - | - | 3 | - |
|---|
| Stock Issued During Period, Value, Acquisitions | - | 12 | - | 2 | 1 |
|---|
| Accrued Issuance Costs in Connection With Debt Issuance | - | - | - | 1 | - |
|---|