XML 53 R41.htm IDEA: XBRL DOCUMENT v3.24.2.u1
DESCRIPTION OF BUSINESS (Details)
$ / shares in Units, ر.س in Millions
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Aug. 04, 2024
USD ($)
Mar. 29, 2024
USD ($)
Mar. 24, 2024
USD ($)
$ / shares
shares
May 31, 2023
USD ($)
shares
Apr. 29, 2022
USD ($)
facility
Jun. 30, 2023
USD ($)
Mar. 31, 2023
USD ($)
Dec. 31, 2022
USD ($)
facility
Jun. 30, 2024
USD ($)
$ / shares
Jun. 30, 2023
USD ($)
Jun. 30, 2024
USD ($)
$ / shares
shares
Jun. 30, 2023
USD ($)
Dec. 31, 2022
USD ($)
facility
Dec. 31, 2023
USD ($)
$ / shares
Nov. 08, 2022
USD ($)
Jun. 30, 2022
USD ($)
Apr. 29, 2022
SAR (ر.س)
facility
Feb. 27, 2022
USD ($)
Feb. 27, 2022
SAR (ر.س)
Debt Instrument [Line Items]                                      
Net loss                 $ 643,390,000 $ 764,232,000 $ 1,324,249,000 $ 1,543,760,000              
Accumulated deficit                 $ 11,523,001,000   $ 11,523,001,000     $ 10,198,752,000          
Convertible preferred stock, par value (in dollars per share) | $ / shares                 $ 0.0001   $ 0.0001     $ 0.0001          
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                
2022 Subscription Agreement | Ayar                                      
Debt Instrument [Line Items]                                      
Consideration to be received on agreement                             $ 915,000,000        
Net proceeds received               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                          
2023 Subscription Agreement | Ayar                                      
Debt Instrument [Line Items]                                      
Consideration to be received on agreement       $ 1,800,000,000                              
Net proceeds received           $ 1,800,000,000                          
Number of shares issued (in shares) | shares       265,693,703                              
Series A Subscription Agreement | Ayar | Redeemable Convertible Preferred Stock                                      
Debt Instrument [Line Items]                                      
Consideration to be received on agreement     $ 1,000,000,000.0                                
Net proceeds received   $ 1,000,000,000                                  
Number of shares issued (in shares) | shares     100,000                                
Convertible preferred stock, par value (in dollars per share) | $ / shares     $ 0.0001                                
SIDF                                      
Debt Instrument [Line Items]                                      
Debt instrument, face amount               1,400,000,000         $ 1,400,000,000         $ 1,400,000,000 ر.س 5,190
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.0      
ABL Credit Facility | Line of Credit | Bridge Loan                                      
Debt Instrument [Line Items]                                      
Maximum borrowing capacity                               $ 100,000,000.0      
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       ر.س 1,000    
Number of facilities | facility         2     2         2       2    
Interest 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    
Interest rate         1.25%                            
GIB Facility Agreement | Line of Credit | Working Capital Facility                                      
Debt Instrument [Line Items]                                      
Maximum borrowing capacity         $ 93,100,000     $ 93,100,000         $ 93,100,000       ر.س 350    
Interest rate         1.70%                            
DDTL Credit Facility | Delayed Draw Term Loan (DDTL) | Secured Debt | Subsequent Event                                      
Debt Instrument [Line Items]                                      
Debt instrument, term 5 years                                    
Maximum borrowing capacity $ 750,000,000