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

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

December 31, 2021

    

December 31, 2020

Principal amount of long‑term debt

$

75,000

$

75,000

Less: Current portion of long‑term debt

 

 

Long‑term debt, net of current portion

 

75,000

 

75,000

Accrued final interest payment

1,654

408

Debt discount

 

(500)

 

(464)

Long‑term debt, net of discount and current portion

$

76,154

$

74,944

Schedule of estimated future principal payments due

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

Year ending December 31, 

    

  

2022

$

2023

 

2024

18,750

2025

37,500

2026 and thereafter

18,750

$

75,000