v3.10.0.1

Net loss per share attributable to common stockholders | 12 Months Ended
--- | ---
Dec. 31, 2018
Net loss per share attributable to common stockholders |
Net loss per share attributable to common stockholders | 19. Net loss per share attributable to common stockholders The following table sets forth the computation of basic and diluted net loss per share attributable to common stockholders:
|  | Year Ended December 31,
|  | 2018 |  | 2017 (3) |  | 2016 (3)
|  | (in thousands)
Numerator: |  |  |  |  |  |  |  |  |
Net loss attributable to common stockholders, basic and diluted |  | $ | (1,220) |  | $ | (19,366) |  | $ | (27,331)
Denominator: |  |  |  |  |  |  |  |  |
Weighted average number of common stock, basic and diluted |  |  | 42,066 |  |  | 39,824 |  |  | 38,025
Net loss per share attributable to common stockholders: |  |  |  |  |  |  |  |  |
Basic and diluted |  | $ | (0.03) |  | $ | (0.49) |  | $ | (0.72)
| (3) |  | As noted above, prior period amounts have not been adjusted upon adoption of ASC 606 under the modified retrospective method.
For the years ended December 31, 2018, 2017 and 2016, we excluded all assumed exercises of stock options and the assumed issuance of common stock under RSUs from the computation of diluted net loss per share as the effect would be anti-dilutive due to the net loss for the period.For the year ended December 31, 2018, we also excluded the shares that would be issuable assuming conversion of all of the Convertible Notes given our intent to settle in cash as well as the shares for the capped call as the effect would be anti-dilutive.

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 The entire disclosure for earnings per share. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -URI http://asc.fasb.org/topic&trid=2144383 + Details
Name: | us-gaap_EarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration