XML 62 R52.htm IDEA: XBRL DOCUMENT v3.19.2
Convertible Notes - Schedule of Convertible Notes (Details) - USD ($)
$ in Thousands
Jun. 30, 2019
Dec. 31, 2018
Debt Disclosure [Abstract]    
Outstanding principal $ 171,500 $ 171,500
Unamortized debt discount (43,869) (48,430)
Unamortized debt issuance (2,714) (2,996)
Net carrying amount of the liability component $ 124,917 $ 120,074