XML 60 R42.htm IDEA: XBRL DOCUMENT v3.22.4
DESCRIPTION OF BUSINESS (Details)
1 Months Ended 12 Months Ended
Jul. 23, 2021
USD ($)
Dec. 31, 2022
USD ($)
Jun. 30, 2022
USD ($)
Dec. 31, 2022
USD ($)
shares
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Nov. 08, 2022
USD ($)
Apr. 29, 2022
USD ($)
Apr. 29, 2022
SAR (ر.س)
Feb. 27, 2022
USD ($)
Feb. 27, 2022
SAR (ر.س)
Debt Instrument [Line Items]                      
Net loss       $ 1,304,460,000 $ 2,579,761,000 $ 719,380,000          
Accumulated deficit   $ 7,370,332,000   7,370,332,000 6,065,872,000            
Proceeds from reverse recapitalization, net of transaction costs $ 4,400,300,000                    
Equity Distribution Agreement                      
Debt Instrument [Line Items]                      
Consideration to be received on agreement             $ 600,000,000        
Net proceeds received       $ 594,300,000              
Remaining number of shares available (in shares) | shares       0              
Subscription Agreement | Ayar                      
Debt Instrument [Line Items]                      
Consideration to be received on agreement             $ 915,000,000        
Net proceeds received   915,000,000                  
1.25% Convertible Senior Notes, Due December 2026                      
Debt Instrument [Line Items]                      
Debt instrument, face amount   2,012,500,000   $ 2,012,500,000 2,012,500,000            
1.25% Convertible Senior Notes, Due December 2026 | Convertible Debt                      
Debt Instrument [Line Items]                      
Debt instrument, face amount         $ 2,012,500,000            
Interest rate         1.25%            
SIDF                      
Debt Instrument [Line Items]                      
Debt instrument, face amount   1,400,000,000   1,400,000,000           $ 1,400,000,000 ر.س 5,190,000,000
GIB Facility Agreement | Line of Credit | Revolving Credit Facility                      
Debt Instrument [Line Items]                      
Maximum borrowing capacity   266,100,000   266,100,000       $ 266,100,000 ر.س 1,000,000,000    
ABL Credit Facility | Line of Credit | Revolving Credit Facility                      
Debt Instrument [Line Items]                      
Maximum borrowing capacity   $ 1,000,000,000 $ 1,000,000,000 $ 1,000,000,000              
Debt instrument, term     5 years 5 years