XML 93 R79.htm IDEA: XBRL DOCUMENT v3.19.2
Basic and Diluted Net Loss per Share - Additional Information (Details) - Convertible Senior Notes - USD ($)
$ in Millions
6 Months Ended 12 Months Ended
Jun. 30, 2019
Dec. 31, 2018
Dec. 31, 2017
Antidilutive Securities Excluded From Computation Of Earnings Per Share [Line Items]      
Payments to enter capped call options   $ 12.9 $ 12.9
Convertible debt Instrument, Issuance date, month and year 2017-11