v3.25.2
Financing transaction (Additional Information) (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
May 13, 2025
USD ($)
$ / shares
Nov. 08, 2023
USD ($)
Segment
Days
$ / shares
shares
Jun. 30, 2025
USD ($)
Warrants
$ / shares
Jun. 30, 2024
USD ($)
Jun. 30, 2025
USD ($)
Warrants
$ / shares
Jun. 30, 2024
USD ($)
Dec. 31, 2024
$ / shares
Mar. 18, 2024
$ / shares
Dec. 31, 2023
$ / shares
shares
Subsidiary or Equity Method Investee [Line Items]                  
Common stock, par value | $ / shares     $ 0.0001   $ 0.0001   $ 0.0001 $ 0.0001  
Advance condition   The Company’s right to request Advances is conditioned upon the Company achieving a minimum of one new passenger auto-original equipment manufacturer (“OEM”) or commercial OEM program award with at least a 50,000 unit volume              
Program award 1 | Segment   50,000              
Trading price of the common stock   $ 38              
Cost of revenue     $ 8,231 $ 2,860 $ 11,289 $ 6,359      
Subscription Agreements [Member]                  
Subsidiary or Equity Method Investee [Line Items]                  
Aggregate shares available for purchase | shares   7,360,460              
Common stock, par value | $ / shares   $ 0.0001              
Share price | $ / shares   $ 2.9              
Proceeds from issuance of common stock   $ 21,400              
Standby Equity Purchase Agreement [Member]                  
Subsidiary or Equity Method Investee [Line Items]                  
Share price | $ / shares   $ 10,000              
Preferred stock liquidation preference per share | $ / shares   $ 12,000              
Percentage of dividend payble   7.00%              
Convertible preferred stock nonredeemable or redeemable issuer option value   $ 10,000              
Common stock applicable conversion price   250.00%              
Facility fee         2,500        
Origination fee         600        
Administrative fees expense         300        
Fees and expenses of the investor and its counsel     $ 400   $ 400        
Standby Equity Purchase Agreement [Member] | Series A One [Member]                  
Subsidiary or Equity Method Investee [Line Items]                  
Warrants issued | shares                 3,000,000
Standby Equity Purchase Agreement [Member] | Preferred Stock [Member]                  
Subsidiary or Equity Method Investee [Line Items]                  
Total preferred facility   $ 125,000              
Standby Equity Purchase Agreement [Member] | Common Stock [Member]                  
Subsidiary or Equity Method Investee [Line Items]                  
Percentage of common stock beneficially owned by investor   19.90%              
Standby Equity Purchase Agreement [Member] | Common Stock [Member] | Series A One [Member]                  
Subsidiary or Equity Method Investee [Line Items]                  
Warrants issued to purchase shares of common stock, Exercise price | $ / shares                 $ 5
Number of warrants outstanding | Warrants | Warrants     3,000,000   3,000,000        
Percentage of common stock outstanding     19.90%   19.90%        
Standby Equity Purchase Agreement [Member] | Maximum [Member]                  
Subsidiary or Equity Method Investee [Line Items]                  
Debt instrument convertible threshold trading days | Days   30              
Standby Equity Purchase Agreement [Member] | Maximum [Member] | Preferred Stock [Member]                  
Subsidiary or Equity Method Investee [Line Items]                  
Number of shares preferred stock aggregate value   $ 50,000              
Standby Equity Purchase Agreement [Member] | Minimum [Member]                  
Subsidiary or Equity Method Investee [Line Items]                  
Debt instrument convertible threshold trading days | Days   20              
Standby Equity Purchase Agreement [Member] | Minimum [Member] | Preferred Stock [Member]                  
Subsidiary or Equity Method Investee [Line Items]                  
Number of shares preferred stock aggregate value   $ 25,000              
LG Subscription Agreement [Member]                  
Subsidiary or Equity Method Investee [Line Items]                  
Strategic investment $ 32,500                
Fixed price per share | $ / shares $ 9.26                
Ownership limit percentage 9.90%                
LG Subscription Agreement [Member] | Maximum [Member]                  
Subsidiary or Equity Method Investee [Line Items]                  
Fixed price per share | $ / shares $ 7.41                
Joint Development Agreement [Member]                  
Subsidiary or Equity Method Investee [Line Items]                  
Cost of revenue         $ 3,800        
Fair value of the share subscription liability         8,600        
Total consideration         7,500        
LG Subscription Agreement And Joint Development Agreement [Member]                  
Subsidiary or Equity Method Investee [Line Items]                  
Fixed consideration     $ 7,500   $ 7,500