XML 91 R77.htm IDEA: XBRL DOCUMENT v3.22.0.1
Debt - Pre 2020 convertible notes (Details)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 28, 2020
shares
Dec. 23, 2020
USD ($)
Feb. 28, 2020
USD ($)
NotesSeries
Dec. 19, 2019
USD ($)
shares
Dec. 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Dec. 31, 2019
USD ($)
shares
Sep. 16, 2021
$ / shares
Sep. 15, 2021
$ / shares
Nov. 30, 2018
USD ($)
Jul. 20, 2018
USD ($)
NotesSeries
Debt Instrument [Line Items]                      
Amount borrowed       $ 3,000              
Interest rate (stated)       3.00%              
Warrants issued on conversion | shares       403,101              
Conversion price (per unit) | $ / shares               $ 37.74 $ 25    
Debt issuance costs         $ 10,785 $ 29          
Amount outstanding         414,735 47,983          
Gain (loss) on extinguishment of debt         $ 5,110 5,748 $ (483)        
Original debt amount           $ 1,436 $ 34,105        
Series B Redeemable Convertible Preferred Stock                      
Debt Instrument [Line Items]                      
Warrants issued on conversion | shares             70,408        
Pre-2020 Convertible Promissory Notes                      
Debt Instrument [Line Items]                      
Amount borrowed     $ 1,400             $ 7,300 $ 1,700
Interest rate (stated)                   4.50% 3.50%
Shares issued on conversion | shares 198,750                    
Warrants issued on conversion | shares 73,538                    
Number of promissory notes assumed | NotesSeries     1               2
Unpaid interest   $ 100                  
Gain (loss) on extinguishment of debt   300 $ 200                
Interest amount   300                  
Original debt amount     $ 1,200                
Pre-2020 Convertible Promissory Notes | Maximum                      
Debt Instrument [Line Items]                      
Interest rate (stated)                   10.00%  
Merger Agreement | Pre-2020 Convertible Promissory Notes                      
Debt Instrument [Line Items]                      
Amount outstanding   7,300                  
Unpaid interest   $ 500