XML 50 R18.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Basis of presentation and significant accounting policies (Tables) | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2018 | Dec. 31, 2017
Accounting Policies [Abstract] |  |
Schedule of amounts excluded from the calculation of diluted net loss per share | The amounts in the table below were excluded from the calculation of diluted net loss per share due to their anti-dilutive effect (in thousands):
| As of June 30,
| 2018 |  | 2017
Outstanding stock options and restricted stock units | 5,396 |  |  | 7,469 |
| The amounts in the table below were excluded from the calculation of diluted net loss per share, prior to the use of the treasury stock method, due to their anti-dilutive effect (in thousands):
| Year Ended December 31,
| 2017 |  | 2016 |  | 2015
Outstanding stock options and restricted stock units | 5,746 |  |  | 4,661 |  |  | 4,751 |

X
- References No definition available. + Details
Name: | us-gaap_AccountingPoliciesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Tabular disclosure of securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (c) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration