Annual report pursuant to Section 13 and 15(d)

Debt - Schedule of Interest on Convertible Notes (Details)

v3.19.3
Debt - Schedule of Interest on Convertible Notes (Details) - Convertible Notes - Convertible Senior Notes Due November 2022 - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2018
Dec. 31, 2017
Debt Instrument [Line Items]    
Contractual interest expense $ 5,175 $ 3,119
Amortization of debt discount 10,322 5,991
Amortization of debt issuance costs 1,322 766
Total interest expense $ 16,819 $ 9,876
Effective interest rate of the liability component 5.87% 5.87%