XML 20 R37.htm IDEA: XBRL DOCUMENT v3.19.3
Debt - Components of Convertible Senior Notes (Details) - Convertible Senior Notes - Convertible Senior Notes - USD ($)
$ in Thousands
9 Months Ended 12 Months Ended
Sep. 30, 2019
Dec. 31, 2018
Debt Instrument [Line Items]    
Principal amount outstanding $ 13,131 $ 58,503
Unamortized discount of liability component (516) (3,637)
Unamortized debt issuance costs (69) (487)
Net carrying amount of liability component 12,546 54,379
Carrying value of equity component, net of issuance costs 2,265 10,092
Carrying value of equity component, net of issuance costs $ 25,756 $ 85,999
Fair value of outstanding Convertible Senior Notes 1 year 3 months 18 days 2 years