Fair Value of Financial Instruments - Schedule of Assets and Liabilities Measured on Recurring Basis (Details) - USD ($) $ in Millions | Jun. 30, 2023 | Dec. 31, 2022 |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Warrants to purchase common stock | $ 90 | $ 68 |
Fair Value, Recurring | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Total assets | 767 | 957 |
Warrants to purchase common stock | 90 | 68 |
Contingent consideration | | 4 |
Total liabilities | 90 | 72 |
Fair Value, Recurring | Money market funds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 265 | 483 |
Fair Value, Recurring | Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 104 | 140 |
Fair Value, Recurring | Certificates of deposit | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 78 | 104 |
Fair Value, Recurring | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 17 | 109 |
Fair Value, Recurring | U.S. government agency securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 113 | 33 |
Fair Value, Recurring | Treasury securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 134 | 60 |
Fair Value, Recurring | Asset-backed securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 56 | 28 |
Fair Value, Recurring | Level 1 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Total assets | 265 | 483 |
Warrants to purchase common stock | 0 | 0 |
Contingent consideration | | 0 |
Total liabilities | 0 | 0 |
Fair Value, Recurring | Level 1 | Money market funds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 265 | 483 |
Fair Value, Recurring | Level 1 | Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 0 | 0 |
Fair Value, Recurring | Level 1 | Certificates of deposit | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 0 | 0 |
Fair Value, Recurring | Level 1 | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 0 | 0 |
Fair Value, Recurring | Level 1 | U.S. government agency securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 0 | 0 |
Fair Value, Recurring | Level 1 | Treasury securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 0 | 0 |
Fair Value, Recurring | Level 1 | Asset-backed securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 0 | 0 |
Fair Value, Recurring | Level 2 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Total assets | 502 | 474 |
Warrants to purchase common stock | 0 | 0 |
Contingent consideration | | 0 |
Total liabilities | 0 | 0 |
Fair Value, Recurring | Level 2 | Money market funds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 0 | 0 |
Fair Value, Recurring | Level 2 | Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 104 | 140 |
Fair Value, Recurring | Level 2 | Certificates of deposit | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 78 | 104 |
Fair Value, Recurring | Level 2 | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 17 | 109 |
Fair Value, Recurring | Level 2 | U.S. government agency securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 113 | 33 |
Fair Value, Recurring | Level 2 | Treasury securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 134 | 60 |
Fair Value, Recurring | Level 2 | Asset-backed securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 56 | 28 |
Fair Value, Recurring | Level 3 | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Total assets | 0 | 0 |
Warrants to purchase common stock | 90 | 68 |
Contingent consideration | | 4 |
Total liabilities | 90 | 72 |
Fair Value, Recurring | Level 3 | Money market funds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 0 | 0 |
Fair Value, Recurring | Level 3 | Commercial paper | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 0 | 0 |
Fair Value, Recurring | Level 3 | Certificates of deposit | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 0 | 0 |
Fair Value, Recurring | Level 3 | Corporate bonds | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 0 | 0 |
Fair Value, Recurring | Level 3 | U.S. government agency securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 0 | 0 |
Fair Value, Recurring | Level 3 | Treasury securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | 0 | 0 |
Fair Value, Recurring | Level 3 | Asset-backed securities | | |
Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items] | | |
Assets | $ 0 | $ 0 |