XML 52 R40.htm IDEA: XBRL DOCUMENT v3.19.2
Debt (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2019
Jun. 30, 2018
Jun. 30, 2019
Jun. 30, 2018
Dec. 31, 2018
Debt [Abstract]          
Accretion of discount on convertible notes     $ 1,733 $ 1,454  
Carrying value of convertible notes [Abstract]          
Carrying value $ 43,180   $ 43,180   $ 41,447
2021 Convertible Notes [Member]          
Debt [Abstract]          
Debt instrument maturity date     Aug. 01, 2021    
Convertible senior notes, interest rate, stated percentage 5.75%   5.75%    
Debt conversion ratio     31.1876    
Conversion price (in dollars per share) $ 32.08   $ 32.08    
Conversion per principal amount of debt $ 1   $ 1    
Percentage of common stock conversion price     200.00%    
Number of trading days immediately preceding notice of redemption     5 days    
Redemption price percentage     100.00%    
Effective interest rate 15.30%   15.30%    
Accretion of discount on convertible notes $ 850 $ 696 $ 1,733 $ 1,454  
Carrying value of convertible notes [Abstract]          
Principal amount 52,000   52,000    
Discount (8,820)   (8,820)    
Carrying value $ 43,180   $ 43,180