XML 51 R40.htm IDEA: XBRL DOCUMENT v3.22.2
DESCRIPTION OF BUSINESS (Details)
1 Months Ended 3 Months Ended 6 Months Ended
Jul. 23, 2021
USD ($)
Jun. 30, 2022
USD ($)
Jun. 30, 2022
USD ($)
Jun. 30, 2021
USD ($)
Jun. 30, 2022
USD ($)
Jun. 30, 2021
USD ($)
Apr. 29, 2022
USD ($)
Apr. 29, 2022
SAR (ر.س)
Feb. 27, 2022
USD ($)
Feb. 27, 2022
SAR (ر.س)
Dec. 31, 2021
USD ($)
Debt Instrument [Line Items]                      
Net loss     $ 220,425,000 $ 261,726,000 $ 301,711,000 $ 1,009,678,000          
Accumulated deficit   $ 6,367,583,000 6,367,583,000   6,367,583,000           $ 6,065,872,000
Proceeds from reverse recapitalization, net of transaction costs $ 4,400,300,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
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       $ 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,500,000 266,500,000   266,500,000   $ 266,500,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