XML 93 R79.htm IDEA: XBRL DOCUMENT v3.10.0.1
Basic and Diluted Net Loss per Share - Additional Information (Details) - Convertible Senior Notes - USD ($)
$ in Millions
3 Months Ended 6 Months Ended 12 Months Ended
Dec. 31, 2017
Jun. 30, 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