v3.19.3

Net loss per share attributable to common stockholders | 9 Months Ended
--- | ---
Sep. 30, 2019
Net loss per share attributable to common stockholders |
Net income (loss) per share attributable to common stockholders | 17. 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: ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | Three Months Ended | ​ | Nine Months Ended
​ | ​ | September 30, | ​ | September 30,
​ |  | 2019 |  | 2018 |  | 2019 |  | 2018
​ | ​ | (in thousands)
Numerator: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Net loss attributable to common stockholders, basic and diluted | ​ | $ | (187) | ​ | $ | (522) | ​ | $ | (5,124) | ​ | $ | (1,636)
Denominator: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Weighted average common stock, basic and diluted | ​ |  | 44,136 | ​ |  | 42,377 | ​ | ​ | 43,904 | ​ | ​ | 41,890
Net loss per share attributable to common stockholders: | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Basic | ​ | $ | 0.00 | ​ | $ | (0.01) | ​ | $ | (0.12) | ​ | $ | (0.04)
Diluted | ​ | $ | 0.00 | ​ | $ | (0.01) | ​ | $ | (0.12) | ​ | $ | (0.04)
​ For the three and nine months ended September 30, 2019 and September 30, 2018, 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 three and nine months ended September 30, 2019, we also excluded the shares that would be issuable assuming conversion of the Convertible Notes and the shares for the capped call as their effect would be anti-dilutive. Diluted EPS for our Convertible Notes is calculated under the treasury method in accordance with ASC 260, Earnings Per Share.

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