XML 54 R42.htm IDEA: XBRL DOCUMENT v3.10.0.1
Convertible Notes Payable - Summary of Total Interest Expense Recognized Related to the Convertible Notes (Details) - Convertible debt - 3.00% Convertible notes - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2018
Sep. 30, 2017
Sep. 30, 2018
Sep. 30, 2017
Debt Instrument [Line Items]        
Contractual interest expense $ 2,287 $ 1,195 $ 6,863 $ 1,195
Amortization of debt discount 3,379 1,568 9,804 1,568
Amortization of debt issuance costs 127 0 370 0
Total interest expense $ 5,793 $ 2,763 $ 17,037 $ 2,763