XML 108 R96.htm IDEA: XBRL DOCUMENT v3.24.2.u1
RELATED PARTY TRANSACTIONS - EV Purchase Agreement (Narrative) (Details)
$ in Thousands, ر.س in Millions
1 Months Ended 3 Months Ended 6 Months Ended
Aug. 31, 2023
vehicle
Jun. 30, 2024
USD ($)
Jun. 30, 2024
SAR (ر.س)
Jun. 30, 2023
USD ($)
Jun. 30, 2024
USD ($)
Jun. 30, 2024
SAR (ر.س)
Jun. 30, 2023
USD ($)
Jun. 30, 2024
SAR (ر.س)
Dec. 31, 2023
USD ($)
Dec. 31, 2023
SAR (ر.س)
Related Party Transaction [Line Items]                    
Revenues   $ 200,581   $ 150,874 $ 373,321   $ 300,306      
Accounts receivable, net   101,370     101,370       $ 51,822  
Related Party                    
Related Party Transaction [Line Items]                    
Revenues   36,470   $ 0 87,836   $ 0      
Accounts receivable, net   77,808     77,808       35,526  
Electric Vehicle Purchase Agreement | Related Party | EV Purchase Agreement | Government of Saudi Arabia                    
Related Party Transaction [Line Items]                    
Number of vehicles committed | vehicle 100,000                  
Number of vehicles committed, minimum | vehicle 50,000                  
Number of vehicles committed, additional | vehicle 50,000                  
Number of years 10 years                  
Minimum vehicle purchase reduction period 6 months                  
Revenues   36,500 ر.س 136.9   87,800 ر.س 329.5        
Accounts receivable, net   $ 77,800     $ 77,800     ر.س 291.9 $ 35,500 ر.س 133.2