XML 55 R43.htm IDEA: XBRL DOCUMENT v3.10.0.1
Convertible Notes, net - Future Minimum Payments under Convertible Notes (Details) - USD ($)
$ in Thousands
Jun. 30, 2018
Dec. 31, 2017
Debt Instrument [Line Items]    
Convertible notes, net $ 277,143 $ 258,538
Convertible Notes    
Debt Instrument [Line Items]    
2018 3,250  
2019 331,498  
Total 334,748  
Less amounts representing interest (9,750)  
Less debt discount, net (47,855) (66,460)
Convertible notes, net $ 277,143 $ 258,538