XML 48 R37.htm IDEA: XBRL DOCUMENT v3.23.2
DESCRIPTION OF BUSINESS (Details)
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Apr. 29, 2022
USD ($)
facility
Jul. 23, 2021
USD ($)
Jun. 30, 2023
USD ($)
Mar. 31, 2023
USD ($)
Dec. 31, 2022
USD ($)
facility
Jun. 30, 2023
USD ($)
Jun. 30, 2022
USD ($)
Jun. 30, 2023
USD ($)
shares
Jun. 30, 2022
USD ($)
Dec. 31, 2022
USD ($)
facility
May 31, 2023
USD ($)
Mar. 12, 2023
USD ($)
Nov. 08, 2022
USD ($)
Apr. 29, 2022
SAR (ر.س)
facility
Feb. 27, 2022
USD ($)
Feb. 27, 2022
SAR (ر.س)
Dec. 31, 2021
USD ($)
Debt Instrument [Line Items]                                  
Net loss           $ 764,232,000 $ 220,425,000 $ 1,543,760,000 $ 301,711,000                
Accumulated deficit     $ 8,914,092,000   $ 7,370,332,000 8,914,092,000   $ 8,914,092,000   $ 7,370,332,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         594,300,000              
Remaining number of shares available (in shares) | shares               0                  
Private Placement | Ayar                                  
Debt Instrument [Line Items]                                  
Consideration to be received on agreement                     $ 1,800,000,000   $ 915,000,000        
Net proceeds received     1,800,000,000   915,000,000                        
Underwriting Agreement                                  
Debt Instrument [Line Items]                                  
Consideration to be received on agreement                     $ 1,200,000,000            
Net proceeds received     1,200,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   $ 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  
ABL Credit Facility | Line of Credit | Revolving Credit Facility                                  
Debt Instrument [Line Items]                                  
Debt instrument, term                   5 years              
Maximum borrowing capacity         1,000,000,000   1,000,000,000   1,000,000,000 $ 1,000,000,000              
ABL Credit Facility | Line of Credit | Bridge Loan                                  
Debt Instrument [Line Items]                                  
Maximum borrowing capacity             $ 100,000,000   $ 100,000,000                
GIB Facility Agreement | Line of Credit | Revolving Credit Facility                                  
Debt Instrument [Line Items]                                  
Maximum borrowing capacity $ 266,100,000     $ 266,600,000 $ 266,100,000         $ 266,100,000   $ 266,600,000   ر.س 1,000,000,000      
Number of facilities | facility 2       2         2       2      
GIB Facility Agreement | Line of Credit | Revolving Credit Facility | Saudi Arabian Interbank Offered Rate                                  
Debt Instrument [Line Items]                                  
Debt instrument, basis spread on variable rate       1.40%                          
GIB Facility Agreement | Line of Credit | Bridge Loan                                  
Debt Instrument [Line Items]                                  
Maximum borrowing capacity $ 173,000,000       $ 173,000,000         $ 173,000,000       ر.س 650,000,000      
GIB Facility Agreement | Line of Credit | Bridge Loan | Saudi Arabian Interbank Offered Rate                                  
Debt Instrument [Line Items]                                  
Debt instrument, basis spread on variable rate 1.25%                                
GIB Facility Agreement | Line of Credit | Working Capital Facility                                  
Debt Instrument [Line Items]                                  
Interest rate         6.40%         6.40%              
Maximum borrowing capacity $ 93,100,000       $ 93,100,000         $ 93,100,000       ر.س 350,000,000      
GIB Facility Agreement | Line of Credit | Working Capital Facility | Saudi Arabian Interbank Offered Rate                                  
Debt Instrument [Line Items]                                  
Debt instrument, basis spread on variable rate 1.70%