XML 67 R57.htm IDEA: XBRL DOCUMENT v3.22.2.2
Debt - Schedule of Carrying Value of Debt (Details) - USD ($)
$ in Millions
Sep. 30, 2022
Dec. 31, 2021
Debt Instrument [Line Items]    
Total debt $ 1,704 $ 1,432
Convertible senior notes:    
Debt Instrument [Line Items]    
Total convertible senior notes 1,659 1,319
Convertible senior notes: | 2026 Notes    
Debt Instrument [Line Items]    
Total convertible senior notes $ 495 369
Stated Interest Rate 1.375%  
Convertible senior notes: | 2025 Notes    
Debt Instrument [Line Items]    
Total convertible senior notes $ 559 443
Stated Interest Rate 2.75%  
Convertible senior notes: | 2024 Notes    
Debt Instrument [Line Items]    
Total convertible senior notes $ 605 507
Stated Interest Rate 0.75%  
Mortgages segment    
Debt Instrument [Line Items]    
Warehouse line of credit $ 45 113
Credit Suisse AG, Cayman Islands | Mortgages segment    
Debt Instrument [Line Items]    
Repurchase agreements 22 77
Citibank, N.A. | Mortgages segment    
Debt Instrument [Line Items]    
Repurchase agreements 2 17
Comerica Bank | Line of Credit | Mortgages segment    
Debt Instrument [Line Items]    
Warehouse line of credit $ 21 $ 19