XML 42 R31.htm IDEA: XBRL DOCUMENT v3.22.2
Convertible Senior Notes (Tables)
6 Months Ended
Jun. 30, 2022
Debt Instrument [Line Items]  
Summary of convertible notes outstanding

​

​

​

​

Principal

$

143,750

Less: unamortized issuance costs

​

(3,335)

Net carrying amount

$

140,415

Schedule of total interest expense recognized related to the convertible notes

​

​

​

​

​

​

​

​

​

​

​

​

​

​

Three Months Ended June 30,

​

Six Months Ended June 30,

​

2022

​

2021

​

2022

​

2021

Contractual interest expense

$

943

​

$

943

​

$

1,887

​

$

1,887

Amortization of debt issuance costs

​

226

​

​

225

​

​

449

​

​

446

Total interest expense

$

1,169

​

$

1,168

​

$

2,336

​

$

2,333

Convertible senior notes  
Debt Instrument [Line Items]  
Schedule of principal repayments of debt

​

​

​

​

Years ended December 31,

Future Minimum Payments

2022

$

1,886

2023

​

3,773

2024

​

3,773

2025

​

3,773

2026

​

145,638

Total minimum payments

$

158,843

Less: interest

​

(15,093)

Less: unamortized issuance costs

​

(3,335)

Convertible senior notes

$

140,415