XML 334 R89.htm IDEA: XBRL DOCUMENT v3.21.1
Notes Payable and Convertible Notes - Summary of Future Minimum Payments of Notes and Convertible Notes (Details) - USD ($)
$ in Thousands
Dec. 31, 2020
Dec. 31, 2019
Dec. 31, 2018
Debt Disclosure [Abstract]      
2021 $ 6,156    
2022 7,589    
2024 43,000    
2025 11,867    
Total minimum payments 68,612    
Effect of discounting (1,597)    
Long-term debt 67,015 $ 87,989 $ 9,198
Less current portion (5,024) (6,190)  
Long-term portion $ 61,991 $ 81,799