XML 56 R45.htm IDEA: XBRL DOCUMENT v3.23.2
BALANCE SHEETS COMPONENTS - Construction in Progress (Details)
$ in Thousands, ر.س in Millions
6 Months Ended 12 Months Ended
Jun. 30, 2023
USD ($)
Dec. 31, 2022
USD ($)
Dec. 31, 2022
SAR (ر.س)
MISA | Government Grant | Related Party      
Property, Plant and Equipment [Line Items]      
Related party transaction, amount of transaction   $ 97,300 ر.س 366
MISA | Government Grant | Related Party | Other Noncurrent Liabilities      
Property, Plant and Equipment [Line Items]      
Related party transaction, amount of transaction $ 13,600 64,000  
Construction in progress      
Property, Plant and Equipment [Line Items]      
Total construction in progress 1,332,611 1,077,179  
Machinery and tooling      
Property, Plant and Equipment [Line Items]      
Total construction in progress 694,757 515,662  
Construction of AMP-1 and AMP-2      
Property, Plant and Equipment [Line Items]      
Total construction in progress 618,681 526,720  
AMP-2 | MISA | Government Grant | Related Party      
Property, Plant and Equipment [Line Items]      
Related party transaction, amount of transaction (83,700) (33,300)  
Leasehold improvements      
Property, Plant and Equipment [Line Items]      
Total construction in progress $ 19,173 $ 34,797