XML 21 R54.htm IDEA: XBRL DOCUMENT v3.20.1
Convertible Notes (Details) - USD ($)
$ in Thousands
Mar. 31, 2020
Dec. 31, 2019
Mar. 31, 2019
Debt Instrument      
Convertible notes, long-term $ 150,561 $ 148,788  
Convertible senior notes | 1.375% Convertible senior notes due 2023      
Debt Instrument      
Convertible notes stated interest rate (as a percentage) 1.375%   1.375%
Principal amount of convertible notes $ 172,500 172,500  
Unamortized discount (20,514) (22,163)  
Unamortized debt issuance costs (1,425) (1,549)  
Total convertible notes 150,561 148,788  
Convertible notes, short-term 0 0  
Convertible notes, long-term $ 150,561 $ 148,788