Quarterly report pursuant to Section 13 or 15(d)

Convertible Notes Payable (Details)

v3.21.2
Convertible Notes Payable (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 9 Months Ended
Sep. 29, 2021
shares
Jan. 04, 2021
USD ($)
share
Sep. 30, 2021
USD ($)
$ / shares
Sep. 30, 2021
USD ($)
$ / shares
Sep. 30, 2020
USD ($)
Sep. 30, 2021
USD ($)
$ / shares
Sep. 30, 2020
USD ($)
May 31, 2021
USD ($)
Dec. 31, 2020
USD ($)
Debt Instrument [Line Items]                  
Principal amount               $ 53,500  
Loss on the convertible note modification       $ 50,577 $ 0 $ 50,577 $ 0    
Exchange ratio 0.8149                
Convertible Notes Due January 3, 2023 | Convertible Note                  
Debt Instrument [Line Items]                  
Loss on the convertible note modification     $ 50,600            
Convertible Note                  
Debt Instrument [Line Items]                  
Carrying amount of debt     $ 0 $ 0   $ 0     $ 0
Convertible Note | Convertible Notes Due January 3, 2023                  
Debt Instrument [Line Items]                  
Principal amount   $ 5,000              
Effective interest rate (as a percent)   1.28%              
Conversion price (in usd per share) | $ / shares     $ 0.74 $ 0.74   $ 0.74      
Conversion of debt, shares issued (in shares) | shares 6,820,022                
Number of shares the note is convertible into | share   5,557,864