XML 49 R31.htm IDEA: XBRL DOCUMENT v3.20.1
Convertible Notes (Tables) - Convertible Notes
3 Months Ended
Mar. 31, 2020
Convertible Notes  
Schedule of Convertible Notes

​

​

​

​

​

​

    

March 31, 

​

​

2020

Par value of the Convertible Notes

​

$

201,250

Unamortized debt discounts

​

 

(34,657)

Unamortized debt issuance costs

​

 

(3,453)

Net carrying value of Convertible Notes

​

$

163,140

Schedule of interest expense related to the Convertible Notes

                                                                                                                                                                  

​

​

​

​

​

​

​

​

​

    

Three Months Ended March 31,

​

​

​

2020

 

2019

​

Contractual interest expense

​

$

503

​

$

503

​

Amortization of debt issuance costs

​

 

220

​

​

208

​

Amortization of debt discount

​

 

2,156

​

​

2,006

​

Total

​

$

2,879

​

$

2,717

​

Effective interest rate of the liability component

​

 

7.1

%

​

7.1

%

Schedule of amortization expense for debt discount and debt issuance costs

​

​

​

​

​

​

​

​

​

    

Debt

    

Debt Issuance

​

​

Discounts

​

Costs

April 1, 2020―December 31, 2020

​

$

6,708

​

$

681

January 1, 2021―December 31, 2021

​

 

9,528

​

 

955

January 1, 2022―December 31, 2022

​

 

10,241

​

 

1,015

January 1, 2023―December 31, 2023

​

 

8,180

​

 

802

​

​

$

34,657

​

$

3,453