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