v3.19.3
Convertible Notes - Debt issuance costs and interest expense (Details) - Convertible Notes
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2019
USD ($)
Sep. 30, 2019
USD ($)
Interest expense related to the Convertible Notes    
Contractual interest expense $ 503 $ 1,509
Amortization of debt issuance costs 213 632
Amortization of debt discount 2,079 6,127
Total $ 2,795 $ 8,268
Effective interest rate of the liability component 7.10% 7.10%
Amortization and interest expense capitalized $ 740 $ 1,948