XML 36 R26.htm IDEA: XBRL DOCUMENT v3.22.2
Notes Payable (Tables)
6 Months Ended
Jun. 30, 2022
Table Text Blocks  
Schedule of outstanding Convertible Note

​

​

​

​

​

​

​

​

​

​

June 30, 2022

​

December 31, 2021

​

​

​

​

​

​

​

Liability component:

​

​

​

​

​

​

Principal:

​

​

​

​

​

​

2022 Convertible Notes

​

$

—

​

$

120,699

2024 Convertible Notes

​

​

200,000

​

​

200,000

2026 Convertible Notes

​

​

200,000

​

​

200,000

Less: unamortized debt discount

​

​

—

​

​

(61,641)

Less: unamortized debt issuance costs

​

​

(4,549)

​

​

(4,867)

Net carrying amount

​

​

395,451

​

​

454,191

Equity component:

​

​

​

​

​

​

2022 Convertible Notes

​

​

—

​

​

19,807

2024 Convertible Notes

​

​

—

​

​

41,152

2026 Convertible Notes

​

​

—

​

​

51,350

Total equity component

​

$

—

​

$

112,309

Schedule of interest expense related to Convertible Notes

​

The following table sets forth total interest expense recognized related to convertible senior notes during the three and six months ended June 30, 2022 and 2021 (in thousands):

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

​

Three Months Ended

​

Six Months Ended

​

​

​

​

June 30, 

​

June 30, 

​

​

​

    

2022

    

2021

    

2022

    

2021

    

 

Contractual interest expense

​

$

1,691

​

$

1,804

​

$

3,495

​

$

3,607

​

​

Amortization of debt issuance costs

​

​

516

​

​

412

​

​

1,053

​

​

811

​

​

Amortization of debt discount

​

​

—

​

​

5,516

​

​

—

​

​

10,940

​

​

Total interest expense

​

$

2,207

​

$

7,732

​

$

4,548

​

$

15,358

​

​

Schedule of future minimum payments details of debt

Future minimum payments under the convertible senior notes as of June 30, 2022, are as follows (in thousands):

​

​

​

​

2022(1)

​

$

2,250

2023

​

​

4,500

2024

​

​

203,750

2025

​

​

3,000

2026

​

​

201,500

Total future minimum payments under the convertible senior notes

 

​

415,000

Less: amounts representing interest

​

​

(15,000)

Less: unamortized debt issuance costs

​

​

(4,549)

Convertible senior notes balance

​

$

395,451

(1) For the six months ending December 31, 2022.