XML 59 R49.htm IDEA: XBRL DOCUMENT v3.21.2
Notes Payable and Convertible Notes - Summary of Classification of Notes Payable and Convertible Notes (Details) - USD ($)
$ in Thousands
Jun. 30, 2021
Dec. 31, 2020
Dec. 31, 2019
Debt Instrument [Line Items]      
Long-term debt $ 55,201 $ 67,015 $ 87,989
Less current portion (6,539) (5,024)  
Long term portion 48,662 61,991  
Gotham Green Partners LLC      
Debt Instrument [Line Items]      
Long-term debt     35,607
LI Lending, LLC      
Debt Instrument [Line Items]      
Long-term debt 46,843 45,362 44,289
Long term portion 46,843 45,362  
May 2020 Convertible Notes      
Debt Instrument [Line Items]      
Long-term debt   2,855  
Long term portion   2,855  
May 2020 Convertible Notes (Swap)      
Debt Instrument [Line Items]      
Long-term debt   11,867  
Long term portion   11,867  
Other Loans      
Debt Instrument [Line Items]      
Long-term debt 8,358 6,931 $ 8,093
Less current portion (6,539) (5,024)  
Long term portion $ 1,819 $ 1,907