XML 39 R29.htm IDEA: XBRL DOCUMENT v3.23.2
Notes Payable (Tables)
6 Months Ended
Jun. 30, 2023
Debt Disclosure [Abstract]  
Schedule of Notes Payable
The Company has entered into notes payable agreements with third parties, which consist of the following as of June 30, 2023 and December 31, 2022:
June 30, 2023
(in thousands)Contractual
Maturity Date
Contractual
Interest
Rates
Unpaid Principal
Balance
Fair Value
Measurement
Adjustments
Original Issue Discount and Proceeds Allocated to WarrantsNet
Carrying
Value
Secured SPA Notes (1)
Various
10%-15%
$101,456 $(33,840)$(6,751)$60,865 
Unsecured SPA Notes (1)
Various dates in 2029
10%-15%
11,379 (575)(2,017)8,787 
Notes payable – China other
Due on Demand—%4,816 — — 4,816 
Auto loansOctober 20267%89 — — 89 
$117,740 $(34,415)$(8,768)74,557 
Less: Related party notes payable(7,777)
Less: Notes payable, current portion(4,905)
Total: Notes payable, less current portion$61,875 
December 31, 2022
(in thousands)Contractual
Maturity Date
Contractual
Interest
Rates
Unpaid Principal
Balance
Fair Value
Measurement
Adjustments
Original Issue Discount and Proceeds Allocated to WarrantsNet
Carrying
Value
Secured SPA Notes (1)
October 27, 202810%$36,622 $264 $(10,878)$26,008 
Notes payable – China other
Due on Demand—%4,997 — — 4,997 
Auto loansOctober 20267%100 — — 100 
$41,719 $264 $(10,878)31,105 
Less: Notes payable, current portion(5,097)
Total: Notes payable, less current portion$26,008 
Schedule of Principal Maturities The future scheduled principal maturities of notes payable as of June 30, 2023 are as follows:
(in thousands)
Due on demand$4,816 
2023— 
2024— 
202541,000 
202689 
2027— 
Thereafter61,878 
$107,783 
The future scheduled principal maturities of related party notes payable as of June 30, 2023 were as follows:
(in thousands)
Due on demand$3,736 
20235,042 
20299,957 
$18,735