XML 91 R54.htm IDEA: XBRL DOCUMENT v3.19.3.a.u2
Convertible Notes Payable - Schedule of Outstanding Balance on Convertible Notes (Details) - USD ($)
$ in Thousands
Dec. 31, 2019
Dec. 31, 2018
Aug. 14, 2017
Debt Instrument [Line Items]      
Net carrying amount $ 195,591 $ 179,806  
Convertible debt | 3.00% Convertible notes      
Debt Instrument [Line Items]      
Principal 305,000 305,000 $ 305,000
Less: debt discount and issuance costs, net (109,409) (125,194)  
Net carrying amount 195,591 179,806 166,300
Equity component: $ 134,450 $ 134,450 $ 138,700