| Restructuring Costs (Details) | 3 Months Ended | 6 Months Ended | ||
|---|---|---|---|---|
| Jun. 30, 2023  USD ($) | Jun. 30, 2022  USD ($) | Jun. 30, 2023  USD ($)  employee | Jun. 30, 2022  USD ($) | |
| Restructuring and Related Activities [Abstract] | ||||
| Restructuring costs | $ 5,000,000 | $ 0 | $ 35,000,000 | $ 0 | 
| Positions eliminated | employee | 475 | |||
| Percent of positions eliminated | 8.00% | |||
| Severance costs | $ 28,000,000 | |||
| Impairment loss | 5,000,000 | |||
| Accrued restructuring expense | $ 2,000,000 | $ 2,000,000 | ||
| X | ||||||||||
| 
- Definition Amount of loss from impairment of right-of-use asset from operating lease. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
 | 
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition The number of positions eliminated during the period as a result of restructuring activities. No definition available. 
 | 
| X | ||||||||||
| 
- Definition The number of positions eliminated during the period as a percentage of total positions eliminated during the period in connection with the restructuring plan(s). No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount, after cash payment, of expenses associated with exit or disposal activities pursuant to an authorized plan. Excludes expenses related to a discontinued operation or an asset retirement obligation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 | 
| X | ||||||||||
| 
- Definition Carrying amount (including both current and noncurrent portions of the accrual) as of the balance sheet date pertaining to a specified type of cost associated with exit from or disposal of business activities or restructuring pursuant to a duly authorized plan. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Amount of expenses for special or contractual termination benefits provided to current employees involuntarily terminated under a benefit arrangement associated exit or disposal activities pursuant to an authorized plan. Excludes expenses related to one-time termination benefits, a discontinued operation or an asset retirement obligation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
 |