XML 330 R85.htm IDEA: XBRL DOCUMENT v3.21.1
Notes Payable and Convertible Notes - Summary of Classification of Notes Payable and Convertible Notes (Details) - USD ($)
$ in Thousands
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Debt Instrument [Line Items]      
Long-term debt $ 67,015 $ 87,989 $ 9,198
Less current portion (5,024) (6,190)  
Long-term portion 61,991 81,799  
Gotham Green Partners LLC      
Debt Instrument [Line Items]      
Long-term debt   35,607  
Long-term portion   35,607  
LI Lending LLC      
Debt Instrument [Line Items]      
Long-term debt 45,362 44,289  
Long-term portion 45,362 44,289  
Convertible Notes      
Debt Instrument [Line Items]      
Long-term debt 2,855    
Long-term portion 2,855    
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 6,931 8,093 $ 9,198
Less current portion (5,024) (6,190)  
Long-term portion $ 1,907 $ 1,903