XML 101 R69.htm IDEA: XBRL DOCUMENT
v3.10.0.1

Net Loss Per Share (Tables) | 6 Months Ended | 12 Months Ended
--- | --- | ---
Jun. 30, 2018 | Dec. 31, 2017
Earnings Per Share [Abstract] |  |
Schedule of computation of basic and diluted loss per share applicable to common stockholders |  | The following table sets forth the computation of basic and diluted loss per share applicable to common stockholders (in thousands, except per share data):
| Year Ended December 31,
| 2017 |  | 2016 |  | 2015
Net loss applicable to common stockholders | $ | (50,975 | ) |  | $ | (82,260 | ) |  | $ | (73,219 | )
Weighted average number of common shares used in net loss per share applicable to common stockholders—basic and diluted | 35,675 |  |  | 32,148 |  |  | 27,085 |
Net loss per share applicable to common stockholders—basic and diluted | $ | (1.43 | ) |  | $ | (2.56 | ) |  | $ | (2.70 | )
Schedule of amounts 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 | 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_EarningsPerShareAbstract
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

X
- Definition Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations. + References Reference 1: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfEarningsPerShareBasicAndDilutedTableTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration