XML 63 R53.htm IDEA: XBRL DOCUMENT v3.22.1
Notes Payable - Schedule of Notes Payable (Details)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
Feb. 25, 2022
USD ($)
Dec. 30, 2021
USD ($)
Sep. 30, 2021
USD ($)
$ / shares
Aug. 26, 2021
Aug. 10, 2021
USD ($)
$ / shares
shares
Aug. 05, 2021
USD ($)
$ / shares
shares
Jul. 21, 2021
USD ($)
$ / shares
shares
Jul. 20, 2021
USD ($)
shares
Jun. 30, 2021
USD ($)
Jun. 09, 2021
USD ($)
instrument
$ / shares
shares
Mar. 12, 2021
USD ($)
$ / shares
shares
Mar. 08, 2021
USD ($)
Mar. 01, 2021
USD ($)
scenario
$ / shares
Jan. 15, 2021
USD ($)
Jan. 13, 2021
USD ($)
$ / shares
shares
Sep. 30, 2021
USD ($)
$ / shares
Sep. 30, 2020
USD ($)
Sep. 30, 2021
USD ($)
$ / shares
Sep. 30, 2020
USD ($)
Sep. 09, 2021
$ / shares
shares
Mar. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
Debt Outstanding [Abstract]                                              
Notes payable, current portion     $ 103,505                         $ 103,505   $ 103,505       $ 149,199  
Notes payable, less current portion     99,618                         99,618   99,618       9,168  
Total notes payable     203,123         $ 85,202               203,123   203,123          
Debt Footnote Information [Abstract]                                              
Proceeds from notes payable, net of original issuance discount                                   172,031 $ 25,621        
Restricted cash     $ 25,083                         25,083 $ 713 25,083 713     $ 703 $ 1,133
Debt transaction costs paid                                   3,355 2,554        
Aggregate principal amounts of debt converted                                   2,863 0        
Summary Of Debt [Abstract]                                              
Interest expense                               296 8,505 26,550 22,955        
Net proceeds                                   172,031 25,621        
Debt Converted [Abstract]                                              
Cash Payment                                   (48,210) 0        
Loss on Settlement                               $ 94,727 $ (609) $ 96,036 $ (295)        
Class A Common Stock                                              
Debt Footnote Information [Abstract]                                              
Exercise price (in dollars per share) | $ / shares                   $ 10.00                   $ 10.00      
Aggregate shares able to be purchased from warrants issued (in shares) | shares         272,730         1,500,000                   1,187,083      
Share price (in dollars per share) | $ / shares     $ 10.00                         $ 10.00   $ 10.00          
US-Based Investment Firm Warrants                                              
Debt Footnote Information [Abstract]                                              
Term of warrants                   7 years                          
Exercise price (in dollars per share) | $ / shares         $ 10.00                                    
Aggregate shares able to be purchased from warrants issued (in shares) | shares         1,187,083                                    
Changes in fair value measurements     $ 5,125   $ 7,976                                    
Warrants exercisable period         7 years                                    
US-Based Investment Firm Warrants | Class A Common Stock                                              
Debt Footnote Information [Abstract]                                              
Exercise price (in dollars per share) | $ / shares         $ 10.00   $ 10.00                                
Aggregate shares able to be purchased from warrants issued (in shares) | shares         1,500,000   2,687,083                                
Ares Warrants                                              
Debt Footnote Information [Abstract]                                              
Exercise price (in dollars per share) | $ / shares           $ 10.00                                  
Exercisable period           6 years                                  
Aggregate shares able to be purchased from warrants issued (in shares) | shares           670,092                                  
Fair value of warrants           $ 2,507                             $ 5,000    
Note Payable, Due Various Maturity Dates, At 12.00%                                              
Debt Converted [Abstract]                                              
Loss on Settlement                               $ 0              
Notes Payable, Convertible, Due October 2021 At 0.00%, March 12 Notes                                              
Debt Footnote Information [Abstract]                                              
Outstanding principal, accrued and unpaid interest and accrued original issue discount percentage                     130.00%                        
Notes payable                                              
Debt Outstanding [Abstract]                                              
Unpaid Principal Balance     173,451           $ 160,302             173,451   $ 173,451          
Fair Value Measurement Adjustments     45,280       $ 24,113                 45,280   45,280          
Proceeds Allocated to Warrants     (15,608)                         (15,608)   (15,608)          
Net Carrying Value     203,123                         203,123   203,123          
Interest expense                               2,378   4,997          
Debt Footnote Information [Abstract]                                              
Unpaid Principal Balance     $ 173,451           160,302             $ 173,451   $ 173,451          
Cash paid             48,210                                
Principal amounts converted or repaid             85,202                                
Accrued interest settled             7,435                                
Share price (in dollars per share) | $ / shares     $ 10.00                         $ 10.00   $ 10.00          
Summary Of Debt [Abstract]                                              
Outstanding principal     $ 173,451           160,302             $ 173,451   $ 173,451          
Debt Converted [Abstract]                                              
Unpaid Principal Balance     173,451           160,302             173,451   173,451          
Accrued Interest at Settlement             30,710                                
Fair Value Measurement Adjustments     $ 45,280       24,113                 45,280   45,280          
Cash Payment             (48,210)                                
Settlement with Commit-ment to Issue Class A Common Stock             $ (166,916)                                
Loss on Settlement                               (25,908)   25,908          
Notes payable | Class A Common Stock                                              
Debt Footnote Information [Abstract]                                              
Shares issued from conversion (in shares) | shares             6,854,013 7,823,306                              
Aggregate principal amounts of debt converted               $ 75,100                              
Debt Converted [Abstract]                                              
Accrued Interest at Settlement               23,275                              
Loss on Settlement                               $ 25,908   $ 25,908          
Notes payable | Notes Payable, China Various Other, Due On Demand At 0.00%                                              
Debt Outstanding [Abstract]                                              
Contractual Interest Rates     0.00%                         0.00%   0.00%          
Unpaid Principal Balance     $ 5,366                         $ 5,366   $ 5,366          
Fair Value Measurement Adjustments     0                         0   0          
Proceeds Allocated to Warrants     0                         0   0          
Net Carrying Value     $ 5,366                         5,366   5,366          
Interest expense                               $ 0   $ 0          
Debt Footnote Information [Abstract]                                              
Proceeds from notes payable, net of original issuance discount                           $ 102                  
Contractual Interest Rates     0.00%                         0.00%   0.00%          
Unpaid Principal Balance     $ 5,366                         $ 5,366   $ 5,366          
Summary Of Debt [Abstract]                                              
Outstanding principal     $ 5,366                         $ 5,366   $ 5,366          
Net proceeds                           $ 102                  
Debt Converted [Abstract]                                              
Contractual Interest Rates     0.00%                         0.00%   0.00%          
Unpaid Principal Balance     $ 5,366                         $ 5,366   $ 5,366          
Fair Value Measurement Adjustments     $ 0                         $ 0   $ 0          
Notes payable | March 1, 2021 And August 26, 2021 Notes | Subsequent Event                                              
Debt Footnote Information [Abstract]                                              
Principal payments $ 96,921                                            
Notes payable, related parties, accrued interest 9,856                                            
Interest premium 2,065                                            
Aggregate principal amounts of debt converted $ 85,000                                            
Notes payable | March 1, 2021 Notes Due on March 1, 2022 At 14.00%                                              
Debt Outstanding [Abstract]                                              
Contractual Interest Rates     14.00%                   14.00%     14.00%   14.00%          
Unpaid Principal Balance     $ 55,000                         $ 55,000   $ 55,000          
Fair Value Measurement Adjustments     5,076                         5,076   5,076          
Proceeds Allocated to Warrants     (2,507)                         (2,507)   (2,507)          
Net Carrying Value     $ 57,569                         57,569   57,569          
Interest expense                               $ 1,962   $ 4,536          
Debt Footnote Information [Abstract]                                              
Aggregate principal amount that may be issued                         $ 85,000                    
Aggregate principal                         55,000                    
Proceeds from notes payable, net of original issuance discount                 51,510       51,510                    
Debt issuance costs paid by lender                         $ 90                    
Original issue discount percent                         4.00%                    
Contractual Interest Rates     14.00%                   14.00%     14.00%   14.00%          
Issuance period                         15 days                    
Term of warrants                         6 years                    
Fully diluted capitalization (in percent)                         0.20%                    
Exercise price (in dollars per share) | $ / shares                         $ 10.00                    
Number of scenarios | scenario                         2                    
Liability value                         $ 5,000                    
Unpaid Principal Balance     $ 55,000                         $ 55,000   $ 55,000          
Debt issuance costs recorded in interest expense     315                         315   315          
Summary Of Debt [Abstract]                                              
Outstanding principal     55,000                         55,000   55,000          
Accrued interest     4,536                         4,536   4,536          
Original issue discount     3,490                         3,490   3,490          
Debt issuance costs recorded in interest expense     $ 315                         $ 315   315          
Principal payments                                   0          
Interest payments                                   $ 0          
Net proceeds                 51,510       $ 51,510                    
Debt Converted [Abstract]                                              
Contractual Interest Rates     14.00%                   14.00%     14.00%   14.00%          
Unpaid Principal Balance     $ 55,000                         $ 55,000   $ 55,000          
Fair Value Measurement Adjustments     $ 5,076                         $ 5,076   $ 5,076          
Notes payable | August 26, 2021 Notes, Due on March 1, 2022 At 0.00%                                              
Debt Outstanding [Abstract]                                              
Contractual Interest Rates     14.00%                         14.00%   14.00%          
Unpaid Principal Balance     $ 30,000                         $ 30,000   $ 30,000          
Fair Value Measurement Adjustments     1,402                         1,402   1,402          
Proceeds Allocated to Warrants     0                         0   0          
Net Carrying Value     $ 31,402                         31,402   31,402          
Interest expense                               $ 393              
Debt Footnote Information [Abstract]                                              
Proceeds from notes payable, net of original issuance discount                                   $ 29,913          
Contractual Interest Rates     14.00%                         14.00%   14.00%          
Unpaid Principal Balance     $ 30,000                         $ 30,000   $ 30,000          
Debt issuance costs recorded in interest expense     87                         87   87          
Debt term       1 year                                      
Payment premium percentage       14.00%                                      
Summary Of Debt [Abstract]                                              
Outstanding principal     30,000                         30,000   30,000          
Accrued interest     393                         393   393          
Interest expense                                   393          
Original issue discount     0                         0   0          
Debt issuance costs recorded in interest expense     $ 87                         $ 87   87          
Principal payments                                   0          
Interest payments                                   0          
Net proceeds                                   $ 29,913          
Debt Converted [Abstract]                                              
Contractual Interest Rates     14.00%                         14.00%   14.00%          
Unpaid Principal Balance     $ 30,000                         $ 30,000   $ 30,000          
Fair Value Measurement Adjustments     $ 1,402                         $ 1,402   $ 1,402          
Notes payable | PPP Loan Due on April 17, 2022 At 1.00%                                              
Debt Outstanding [Abstract]                                              
Contractual Interest Rates     1.00%                         1.00%   1.00%          
Unpaid Principal Balance     $ 9,168                         $ 9,168   $ 9,168          
Fair Value Measurement Adjustments     0                         0   0          
Proceeds Allocated to Warrants     0                         0   0          
Net Carrying Value     $ 9,168                         9,168   9,168          
Interest expense                               $ 23   $ 68          
Debt Footnote Information [Abstract]                                              
Contractual Interest Rates     1.00%                         1.00%   1.00%          
Unpaid Principal Balance     $ 9,168                         $ 9,168   $ 9,168          
Summary Of Debt [Abstract]                                              
Outstanding principal     $ 9,168                         $ 9,168   $ 9,168          
Debt Converted [Abstract]                                              
Contractual Interest Rates     1.00%                         1.00%   1.00%          
Unpaid Principal Balance     $ 9,168                         $ 9,168   $ 9,168          
Fair Value Measurement Adjustments     $ 0                         $ 0   $ 0          
Notes payable | PPP Loan Due on April 17, 2022 At 1.00% | Subsequent Event                                              
Debt Outstanding [Abstract]                                              
Net Carrying Value   $ 195                                          
Debt Footnote Information [Abstract]                                              
Principal amounts converted or repaid   8,975                                          
Accrued interest settled   $ 155                                          
Notes payable | June 9, 2021 Note 1 Due on December 9, 2022 At 0.00%                                              
Debt Outstanding [Abstract]                                              
Contractual Interest Rates     0.00%                         0.00%   0.00%          
Unpaid Principal Balance     $ 20,000                         $ 20,000   $ 20,000          
Fair Value Measurement Adjustments     10,079                         10,079   10,079          
Proceeds Allocated to Warrants     (2,563)                         (2,563)   (2,563)          
Net Carrying Value     27,516                         27,516   27,516          
Interest expense                               $ 0   $ 0          
Debt Footnote Information [Abstract]                                              
Proceeds from notes payable, net of original issuance discount     $ 18,203                                        
Contractual Interest Rates     0.00%                         0.00%   0.00%          
Unpaid Principal Balance     $ 20,000                         $ 20,000   $ 20,000          
Debt issuance costs recorded in interest expense     197                         197   197          
Summary Of Debt [Abstract]                                              
Outstanding principal     20,000                         20,000   20,000          
Accrued interest     0                         0   0          
Interest expense                               0   0          
Original issue discount     1,600                         1,600   1,600          
Debt issuance costs recorded in interest expense     197                         $ 197   197          
Principal payments                                   0          
Interest payments                                   $ 0          
Net proceeds     $ 18,203                                        
Debt Converted [Abstract]                                              
Contractual Interest Rates     0.00%                         0.00%   0.00%          
Unpaid Principal Balance     $ 20,000                         $ 20,000   $ 20,000          
Fair Value Measurement Adjustments     $ 10,079                         $ 10,079   $ 10,079          
Notes payable | June 9, 2021 Note 2 Due on December 9, 2022 At 0.00%                                              
Debt Outstanding [Abstract]                                              
Contractual Interest Rates     0.00%                         0.00%   0.00%          
Unpaid Principal Balance     $ 20,000                         $ 20,000   $ 20,000          
Fair Value Measurement Adjustments     7,402                         7,402   7,402          
Proceeds Allocated to Warrants     (2,562)                         (2,562)   (2,562)          
Net Carrying Value     24,840                         24,840   24,840          
Interest expense                               $ 0   $ 0          
Debt Footnote Information [Abstract]                                              
Proceeds from notes payable, net of original issuance discount     $ 17,400                                        
Contractual Interest Rates     0.00%                         0.00%   0.00%          
Unpaid Principal Balance     $ 20,000                         $ 20,000   $ 20,000          
Debt issuance costs recorded in interest expense     0                         0   0          
Summary Of Debt [Abstract]                                              
Outstanding principal     20,000                         20,000   20,000          
Accrued interest     0                         0   0          
Interest expense                               0   0          
Original issue discount     2,600                         2,600   2,600          
Debt issuance costs recorded in interest expense     0                         $ 0   $ 0          
Net proceeds     $ 17,400                                        
Debt Converted [Abstract]                                              
Contractual Interest Rates     0.00%                         0.00%   0.00%          
Unpaid Principal Balance     $ 20,000                         $ 20,000   $ 20,000          
Fair Value Measurement Adjustments     $ 7,402                         $ 7,402   $ 7,402          
Notes payable | August 10, 2021 Optional Notes Due on February 10,2023 At 0.00%                                              
Debt Outstanding [Abstract]                                              
Contractual Interest Rates     15.00%                         15.00%   15.00%          
Unpaid Principal Balance     $ 33,917                         $ 33,917   $ 33,917          
Fair Value Measurement Adjustments     21,321                         21,321   21,321          
Proceeds Allocated to Warrants     (7,976)                         (7,976)   (7,976)          
Net Carrying Value     47,262                         47,262   47,262          
Interest expense                               $ 0   $ 0          
Debt Footnote Information [Abstract]                                              
Proceeds from notes payable, net of original issuance discount     $ 30,375                                        
Contractual Interest Rates     15.00%                         15.00%   15.00%          
Unpaid Principal Balance     $ 33,917                         $ 33,917   $ 33,917          
Debt issuance costs recorded in interest expense     $ 828                         $ 828   $ 828          
Conversion price (in dollars per share) | $ / shares     $ 10.00                         $ 10.00   $ 10.00          
Liquidation premium, percent     30.00%                         30.00%   30.00%          
Summary Of Debt [Abstract]                                              
Outstanding principal     $ 33,917                         $ 33,917   $ 33,917          
Original issue discount     2,714                         2,714   2,714          
Debt issuance costs recorded in interest expense     828                         $ 828   $ 828          
Net proceeds     $ 30,375                                        
Debt Converted [Abstract]                                              
Contractual Interest Rates     15.00%                         15.00%   15.00%          
Unpaid Principal Balance     $ 33,917                         $ 33,917   $ 33,917          
Fair Value Measurement Adjustments     21,321                         21,321   21,321          
Notes payable | Note Payable, Due October 2021 At 14.00%                                              
Debt Footnote Information [Abstract]                                              
Cash requirement             $ 25,000           $ 5,000                    
Restricted cash     $ 25,000                         $ 25,000   25,000          
Notes payable | Notes Payable, Due December 2022, June 2021 Notes                                              
Debt Outstanding [Abstract]                                              
Contractual Interest Rates                   10.00%                          
Debt Footnote Information [Abstract]                                              
Aggregate principal amount that may be issued                   $ 40,000                          
Aggregate principal                   20,000                          
Proceeds from notes payable, net of original issuance discount                   $ 35,603                          
Contractual Interest Rates                   10.00%                          
Number of notes payable | instrument                   2                          
Liquidation premium, percent                   30.00%                          
Original issuance discount                   $ 4,200                          
Changes in fair value measurements                   5,125                          
Debt transaction costs paid                   $ 197                          
Threshold period for additional issuance                   12 months                          
Summary Of Debt [Abstract]                                              
Net proceeds                   $ 35,603                          
Debt Converted [Abstract]                                              
Contractual Interest Rates                   10.00%                          
Notes payable | Notes Payable, Convertible, Due December 2022, June 2021 Notes - Note 1                                              
Debt Footnote Information [Abstract]                                              
Aggregate principal                   $ 20,000                          
Original issue discount percent                   8.00%                          
Notes payable | Notes Payable, Convertible, Due December 2022, August 2021 - Optional Notes                                              
Debt Footnote Information [Abstract]                                              
Proceeds from notes payable, net of original issuance discount                                   $ 30,375          
Original issue discount percent     8.00%                         8.00%   8.00%          
Summary Of Debt [Abstract]                                              
Net proceeds                                   $ 30,375          
Notes payable | Note Payable, Due March 2022                                              
Debt Outstanding [Abstract]                                              
Unpaid Principal Balance                             $ 15,000                
Debt Footnote Information [Abstract]                                              
Unpaid Principal Balance                             15,000                
Increase in principal amount                             667                
Proceeds from increase in principal                             0                
Summary Of Debt [Abstract]                                              
Outstanding principal                             15,000                
Debt Converted [Abstract]                                              
Unpaid Principal Balance                             15,000                
Notes payable | Notes Payable, Convertible, Due December 2022, June 2021 Notes - Note 2                                              
Debt Footnote Information [Abstract]                                              
Aggregate principal                   $ 20,000                          
Original issue discount percent                   13.00%                          
Notes payable | Subtotal settlements just prior to the closing of the Business Combination                                              
Debt Outstanding [Abstract]                                              
Unpaid Principal Balance                 75,100                            
Fair Value Measurement Adjustments               0                              
Debt Footnote Information [Abstract]                                              
Unpaid Principal Balance                 75,100                            
Summary Of Debt [Abstract]                                              
Outstanding principal                 75,100                            
Debt Converted [Abstract]                                              
Unpaid Principal Balance                 75,100                            
Accrued Interest at Settlement               23,275                              
Fair Value Measurement Adjustments               0                              
Cash Payment               0                              
Settlement with Commit-ment to Issue Class A Common Stock               $ (98,375)                              
Loss on Settlement                               $ 0   0          
Notes payable | Note Payable, Due Various Maturity Dates, At 12.00%                                              
Debt Outstanding [Abstract]                                              
Contractual Interest Rates               12.00%                              
Unpaid Principal Balance                 56,000                            
Fair Value Measurement Adjustments               $ 0                              
Debt Footnote Information [Abstract]                                              
Contractual Interest Rates               12.00%                              
Unpaid Principal Balance                 56,000                            
Summary Of Debt [Abstract]                                              
Outstanding principal                 56,000                            
Debt Converted [Abstract]                                              
Contractual Interest Rates               12.00%                              
Unpaid Principal Balance                 56,000                            
Accrued Interest at Settlement               $ 17,177                              
Fair Value Measurement Adjustments               0                              
Cash Payment               0                              
Settlement with Commit-ment to Issue Class A Common Stock               $ (73,177)                              
Loss on Settlement                                   0          
Notes payable | Note Payable, Due June 30, 2021 At 12.00%                                              
Debt Outstanding [Abstract]                                              
Contractual Interest Rates               12.00%                              
Unpaid Principal Balance                 19,100                            
Fair Value Measurement Adjustments               $ 0                              
Debt Footnote Information [Abstract]                                              
Contractual Interest Rates               12.00%                              
Unpaid Principal Balance                 19,100                            
Summary Of Debt [Abstract]                                              
Outstanding principal                 19,100                            
Debt Converted [Abstract]                                              
Contractual Interest Rates               12.00%                              
Unpaid Principal Balance                 19,100                            
Accrued Interest at Settlement               $ 6,098                              
Fair Value Measurement Adjustments               0                              
Cash Payment               0                              
Settlement with Commit-ment to Issue Class A Common Stock               $ (25,198)                              
Loss on Settlement                               0   0          
Notes payable | Subtotal settlements pursuant to the closing of the Business Combination                                              
Debt Outstanding [Abstract]                                              
Unpaid Principal Balance                 85,202                            
Fair Value Measurement Adjustments             24,113                                
Debt Footnote Information [Abstract]                                              
Unpaid Principal Balance                 85,202                            
Summary Of Debt [Abstract]                                              
Outstanding principal                 85,202                            
Debt Converted [Abstract]                                              
Unpaid Principal Balance                 85,202                            
Accrued Interest at Settlement             7,435                                
Fair Value Measurement Adjustments             24,113                                
Cash Payment             (48,210)                                
Settlement with Commit-ment to Issue Class A Common Stock             $ (68,541)                                
Loss on Settlement                               (25,908)   (25,908)          
Notes payable | Note Payable, NPA Tranche, Due October 2021                                              
Debt Outstanding [Abstract]                                              
Contractual Interest Rates             10.00%                                
Unpaid Principal Balance                 17,636                            
Fair Value Measurement Adjustments             $ 3,527                                
Debt Footnote Information [Abstract]                                              
Contractual Interest Rates             10.00%                                
Unpaid Principal Balance                 17,636                            
Summary Of Debt [Abstract]                                              
Outstanding principal                 17,636                            
Debt Converted [Abstract]                                              
Contractual Interest Rates             10.00%                                
Unpaid Principal Balance                 17,636                            
Accrued Interest at Settlement             $ 3,613                                
Fair Value Measurement Adjustments             3,527                                
Cash Payment             (17,636)                                
Settlement with Commit-ment to Issue Class A Common Stock             (7,141)                                
Loss on Settlement                               (2,699)   2,699          
Notes payable | January 13 And March 8, 2021 Notes, Due October 2021, Various Interest Rates                                              
Debt Outstanding [Abstract]                                              
Unpaid Principal Balance     $ 0           9,350             0   0          
Fair Value Measurement Adjustments             4,301                                
Debt Footnote Information [Abstract]                                              
Proceeds from notes payable, net of original issuance discount                 8,218                            
Unpaid Principal Balance     0           9,350             0   0          
Debt issuance costs recorded in interest expense                 532                            
Summary Of Debt [Abstract]                                              
Outstanding principal     0           9,350             0   0          
Accrued interest     0                         0   0          
Interest expense                               82   632          
Original issue discount                 600                            
Debt issuance costs recorded in interest expense                 532                            
Principal payments                 9,350                            
Interest payments                 632                            
Net proceeds                 8,218                            
Debt Converted [Abstract]                                              
Unpaid Principal Balance     0           9,350             0   0          
Accrued Interest at Settlement             82                                
Fair Value Measurement Adjustments             4,301                                
Cash Payment             (11,582)                                
Settlement with Commit-ment to Issue Class A Common Stock             $ (2,151)                                
Loss on Settlement                               (813)   813          
Notes payable | January 13 Notes and March 12 Notes, Due October 2021 At 0.00%                                              
Debt Outstanding [Abstract]                                              
Contractual Interest Rates             0.00%                                
Unpaid Principal Balance     0           18,250             0   0          
Fair Value Measurement Adjustments             $ 5,475                                
Debt Footnote Information [Abstract]                                              
Proceeds from notes payable, net of original issuance discount                 16,310                            
Contractual Interest Rates             0.00%                                
Term of warrants                     7 years                        
Unpaid Principal Balance     0           18,250             0   0          
Debt issuance costs recorded in interest expense                 480                            
Warrant liability                     $ 1,988                        
Summary Of Debt [Abstract]                                              
Outstanding principal     0           18,250             0   0          
Accrued interest     0                         0   0          
Interest expense                               0   0          
Original issue discount     1,460                         1,460   1,460          
Debt issuance costs recorded in interest expense                 480                            
Principal payments                 18,250                            
Interest payments                 0                            
Net proceeds                 16,310                            
Debt Converted [Abstract]                                              
Contractual Interest Rates             0.00%                                
Unpaid Principal Balance     $ 0           18,250             0   0          
Accrued Interest at Settlement             $ 0                                
Fair Value Measurement Adjustments             5,475                                
Cash Payment             0                                
Settlement with Commit-ment to Issue Class A Common Stock             $ (23,725)                                
Loss on Settlement                               (8,968)   8,968          
Notes payable | Note Payable, Due October 2021 At 12.75%                                              
Debt Outstanding [Abstract]                                              
Contractual Interest Rates             12.75%                                
Unpaid Principal Balance                 15,667           15,000                
Fair Value Measurement Adjustments             $ 4,700                                
Debt Footnote Information [Abstract]                                              
Contractual Interest Rates             12.75%                                
Unpaid Principal Balance                 15,667           15,000                
Increase in principal amount                             667                
Proceeds from increase in principal                             0                
Summary Of Debt [Abstract]                                              
Outstanding principal                 15,667           15,000                
Debt Converted [Abstract]                                              
Contractual Interest Rates             12.75%                                
Unpaid Principal Balance                 15,667           $ 15,000                
Accrued Interest at Settlement             $ 0                                
Fair Value Measurement Adjustments             4,700                                
Cash Payment             0                                
Settlement with Commit-ment to Issue Class A Common Stock             $ (20,367)                                
Loss on Settlement                               (7,698)   7,698          
Notes payable | Note Payable, Due March 2022 At 0%                                              
Debt Outstanding [Abstract]                                              
Contractual Interest Rates             0.00%                                
Unpaid Principal Balance                 15,667                            
Fair Value Measurement Adjustments             $ 6,110                                
Debt Footnote Information [Abstract]                                              
Contractual Interest Rates             0.00%                                
Unpaid Principal Balance                 15,667                            
Summary Of Debt [Abstract]                                              
Outstanding principal                 15,667                            
Debt Converted [Abstract]                                              
Contractual Interest Rates             0.00%                                
Unpaid Principal Balance                 15,667                            
Accrued Interest at Settlement             $ 270                                
Fair Value Measurement Adjustments             6,110                                
Cash Payment             (18,992)                                
Settlement with Commit-ment to Issue Class A Common Stock             $ (3,055)                                
Loss on Settlement                               (1,155)   1,155          
Notes payable | Notes Payable, China Various Other, Various Dates 2021                                              
Debt Outstanding [Abstract]                                              
Contractual Interest Rates             6.00%                                
Unpaid Principal Balance                 4,917                            
Fair Value Measurement Adjustments             $ 0                                
Debt Footnote Information [Abstract]                                              
Contractual Interest Rates             6.00%                                
Unpaid Principal Balance                 4,917                            
Summary Of Debt [Abstract]                                              
Outstanding principal                 4,917                            
Debt Converted [Abstract]                                              
Contractual Interest Rates             6.00%                                
Unpaid Principal Balance                 4,917                            
Accrued Interest at Settlement             $ 757                                
Fair Value Measurement Adjustments             0                                
Cash Payment             0                                
Settlement with Commit-ment to Issue Class A Common Stock             $ (5,674)                                
Loss on Settlement                               (2,145)   2,145          
Notes payable | Notes Payable, China Various Other, Due On Demand At 9.00%                                              
Debt Outstanding [Abstract]                                              
Contractual Interest Rates             9.00%                                
Unpaid Principal Balance                 3,715                            
Fair Value Measurement Adjustments             $ 0                                
Debt Footnote Information [Abstract]                                              
Contractual Interest Rates             9.00%                                
Unpaid Principal Balance                 3,715                            
Summary Of Debt [Abstract]                                              
Outstanding principal                 3,715                            
Debt Converted [Abstract]                                              
Contractual Interest Rates             9.00%                                
Unpaid Principal Balance                 $ 3,715                            
Accrued Interest at Settlement             $ 2,713                                
Fair Value Measurement Adjustments             0                                
Cash Payment             0                                
Settlement with Commit-ment to Issue Class A Common Stock             $ (6,428)                                
Loss on Settlement                               $ (2,430)   $ 2,430          
Notes payable | Note Payable, Convertible, Due October 2021 At 8.00%                                              
Debt Outstanding [Abstract]                                              
Contractual Interest Rates                             8.00%                
Debt Footnote Information [Abstract]                                              
Aggregate principal                             $ 3,750                
Proceeds from notes payable, net of original issuance discount                             3,285                
Debt issuance costs paid by lender                             $ 225                
Original issue discount percent                             6.50%                
Contractual Interest Rates                             8.00%                
Percent of premium convertible into equity                             50.00%                
Summary Of Debt [Abstract]                                              
Net proceeds                             $ 3,285                
Debt Converted [Abstract]                                              
Contractual Interest Rates                             8.00%                
Notes payable | Note Payable, Convertible, Due October 2021 At 8.00% | Minimum                                              
Debt Footnote Information [Abstract]                                              
Liquidation premium, percent                             35.00%                
Notes payable | Note Payable, Convertible, Due October 2021 At 8.00% | Maximum                                              
Debt Footnote Information [Abstract]                                              
Liquidation premium, percent                             45.00%                
Notes payable | Note Payable, Convertible, Due October 2021 At 15.75%                                              
Debt Outstanding [Abstract]                                              
Contractual Interest Rates                       15.75%                      
Debt Footnote Information [Abstract]                                              
Aggregate principal                       $ 5,600                      
Proceeds from notes payable, net of original issuance discount                       4,933                      
Debt issuance costs paid by lender                       $ 307                      
Original issue discount percent                       6.50%                      
Contractual Interest Rates                       15.75%                      
Percent of premium convertible into equity                       50.00%                      
Summary Of Debt [Abstract]                                              
Net proceeds                       $ 4,933                      
Debt Converted [Abstract]                                              
Contractual Interest Rates                       15.75%                      
Notes payable | Note Payable, Convertible, Due October 2021 At 15.75% | Minimum                                              
Debt Footnote Information [Abstract]                                              
Liquidation premium, percent                       42.00%                      
Notes payable | Note Payable, Convertible, Due October 2021 At 15.75% | Maximum                                              
Debt Footnote Information [Abstract]                                              
Liquidation premium, percent                       52.00%                      
Notes payable | Notes Payable, Convertible, Due October 2021 At 0.00%, January 13 Notes                                              
Debt Outstanding [Abstract]                                              
Contractual Interest Rates                             0.00%                
Debt Footnote Information [Abstract]                                              
Aggregate principal                             $ 11,250                
Proceeds from notes payable, net of original issuance discount                             9,870                
Debt issuance costs paid by lender                             $ 480                
Original issue discount percent                             8.00%                
Contractual Interest Rates                             0.00%                
Exercise price (in dollars per share) | $ / shares                             $ 19.25                
Aggregate shares able to be purchased from warrants issued (in shares) | shares                             38,182                
Summary Of Debt [Abstract]                                              
Net proceeds                             $ 9,870                
Debt Converted [Abstract]                                              
Contractual Interest Rates                             0.00%                
Notes payable | Notes Payable, Convertible, Due October 2021 At 0.00%, March 12 Notes                                              
Debt Footnote Information [Abstract]                                              
Aggregate principal                     7,000                        
Proceeds from notes payable, net of original issuance discount                     $ 6,440                        
Original issue discount percent                     8.00%                        
Exercise price (in dollars per share) | $ / shares                     $ 19.18                        
Aggregate shares able to be purchased from warrants issued (in shares) | shares                     306,228                        
Shares issued from conversion (in shares) | shares                     2,372,500                        
Summary Of Debt [Abstract]                                              
Net proceeds                     $ 6,440