XML 57 R41.htm IDEA: XBRL DOCUMENT v3.10.0.1
Convertible Notes Payable - Summary of Outstanding Balances of Convertible Notes (Details) - USD ($)
$ in Thousands
Jun. 30, 2018
Dec. 31, 2017
Aug. 14, 2017
Debt Instrument [Line Items]      
Net carrying amount $ 172,674 $ 166,006  
Convertible debt | 3.00% Convertible notes      
Debt Instrument [Line Items]      
Principal 305,000   $ 305,000
Less: debt discount and issuance costs, net (132,326)    
Net carrying amount 172,674   166,300
Equity component $ 134,450   $ 138,700