XML 63 R53.htm IDEA: XBRL DOCUMENT v3.21.2
Notes Payable and Convertible Notes - Summary of Future Minimum Payments of Notes and Convertible Notes (Details) - USD ($)
$ in Thousands
Sep. 30, 2021
Dec. 31, 2020
Dec. 31, 2019
Debt Disclosure [Abstract]      
2021 $ 6,034    
2022 1,730    
2024 52,915    
Total minimum payments 60,679    
Effect of discounting (4,462)    
Long-term debt 56,217 $ 67,015 $ 87,989
Less current portion (6,817) (5,024)  
Long term portion $ 49,400 $ 61,991