Debt (Tables)
12 Months Ended
Dec. 31, 2020
Debt  
Schedule of long term debt

Long-term debt consisted of the following (in thousands):

December 31, 2020

    

December 31, 2019

Principal amount of long‑term debt

$

75,000

$

50,000

Less: Current portion of long‑term debt

 

 

Long‑term debt, net of current portion

 

75,000

 

50,000

Accrued final interest payment

408

213

Debt discount

 

(464)

 

(617)

Long‑term debt, net of discount and current portion

$

74,944

$

49,596

Schedule of estimated future principal payments due

As of December 31, 2020, the estimated future principal payments due were as follows (in thousands):

Year ending December 31, 

    

  

2021

$

2022

 

37,500

2023

37,500

2024

2025 and thereafter

$

75,000