Annual report pursuant to Section 13 and 15(d)

Debt - Schedule of Convertible Notes (Details)

v3.19.3
Debt - Schedule of Convertible Notes (Details) - USD ($)
$ in Thousands
Dec. 31, 2018
Dec. 31, 2017
May 31, 2017
Debt Instrument [Line Items]      
Convertible notes, net $ 292,843 $ 281,199  
Convertible Notes | Convertible Senior Notes Due November 2022      
Debt Instrument [Line Items]      
Principal amount 345,000 345,000 $ 345,000
Unamortized discount (46,235) (56,557)  
Unamortized debt issuance costs (5,922) (7,244)  
Convertible notes, net 292,843 281,199 282,500
Equity component, net of issuance costs and deferred tax: $ 61,390 $ 61,390 $ 62,500