XML 61 R49.htm IDEA: XBRL DOCUMENT v3.20.2
Long-term Debt - Convertible senior notes (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended
Jan. 31, 2020
Jun. 30, 2020
Jun. 30, 2020
Dec. 31, 2019
Debt Instrument [Line Items]        
Loss on extinguishment of debt   $ 3,277 $ 3,277  
Convertible Senior Unsecured Notes        
Debt Instrument [Line Items]        
Unamortized debt issuance costs   $ 10,400 $ 10,400 $ 15,400
2024 Notes | Direct registered offering        
Debt Instrument [Line Items]        
Shares issued 17,777,679      
Share Price $ 9.25      
Principal amount of debt repurchase $ 123,400      
Unamortized debt issuance costs 3,600      
Loss on extinguishment of debt $ 7,800