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
Jun. 30, 2021
Dec. 31, 2020
Dec. 31, 2019
Debt Disclosure [Abstract]      
2021 $ 5,498    
2022 1,730    
2024 53,180    
Total minimum payments 60,408    
Effect of discounting (5,207)    
Long-term debt 55,201 $ 67,015 $ 87,989
Less current portion (6,539) (5,024)  
Long term portion $ 48,662 $ 61,991