XML 58 R45.htm IDEA: XBRL DOCUMENT v3.19.2
Convertible Notes Payable - Summary of Outstanding Balances of Convertible Notes (Details) - USD ($)
$ in Thousands
Jun. 30, 2019
Dec. 31, 2018
Aug. 14, 2017
Debt Instrument [Line Items]      
Net carrying amount $ 187,434 $ 179,806  
Convertible debt | 3.00% Convertible notes      
Debt Instrument [Line Items]      
Principal 305,000   $ 305,000
Less: debt discount and issuance costs, net (117,566)    
Net carrying amount 187,434   166,300
Equity component $ 134,450   $ 138,700