XML 52 R40.htm IDEA: XBRL DOCUMENT v3.8.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
Mar. 31, 2018
Mar. 31, 2017
Debt Instrument [Line Items]    
Contractual interest expense $ 2,288 $ 0
Amortization of debt discount 3,159 0
Amortization of debt issuance costs 119 0
Total interest expense $ 5,566 $ 0