XML 47 R36.htm IDEA: XBRL DOCUMENT v3.19.1
Debt - Components of Convertible Senior Notes (Details) - Convertible Senior Notes - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Mar. 31, 2019
Dec. 31, 2017
Dec. 31, 2014
Dec. 31, 2018
Debt Instrument [Line Items]        
Principal amount outstanding $ 58,503     $ 58,503
Unamortized discount of liability component (3,195)     (3,637)
Unamortized debt issuance costs (428)   $ (4,200)  
Net carrying amount of liability component 54,880     54,379
Less: current portion (54,880)     (54,379)
Long-term debt 0     0
Carrying value of equity component, net of issuance costs 10,092     10,092
Fair value of outstanding Convertible Senior Notes $ 119,767     85,999
Remaining amortization period of discount on the liability component 1 year 9 months 18 days 2 years 6 years  
Other Current Assets [Member]        
Debt Instrument [Line Items]        
Unamortized debt issuance costs       $ (487)