v3.10.0.1

Net income (loss) per share attributable to common stockholders (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2018
Net income (loss) per share attributable to common stockholders |
Schedule of computation of basic and diluted net income (loss) per share attributable to common stockholders |
|  | Three Months Ended June 30, |  | Six Months Ended June 30, |
|  | 2018 |  | 2017(3) |  | 2018 |  | 2017(3) |
|  | (in thousands) |
Numerator: |  |  |  |  |  |  |  |  |
Net income (loss) attributable to common stockholders, basic and diluted |  | $ | 2,115 |  | $ | (8,017 | ) | $ | (1,114 | ) | $ | (14,897 | )
Denominator: |  |  |  |  |  |  |  |  |
Weighted average common stock, basic |  | 41,961 |  | 39,286 |  | 41,645 |  | 38,997 |
Effect of dilutive stock options |  | 472 |  | — |  | — |  | — |
Effect of dilutive RSUs |  | 2,786 |  | — |  | — |  | — |
Weighted average common stock, diluted |  | 45,219 |  | 39,286 |  | 41,645 |  | 38,997 |
Net income (loss) per share attributable to common stockholders: |  |  |  |  |  |  |  |  |
Basic |  | $ | 0.05 |  | $ | (0.20 | ) | $ | (0.03 | ) | $ | (0.38 | )
Diluted |  | $ | 0.05 |  | (0.20 | ) | $ | (0.03 | ) | (0.38 | )
| (3) |  | As noted above, prior period amounts have not been adjusted upon adoption of ASC 606 under the modified retrospective method.

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 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://fasb.org/us-gaap/role/ref/legacyRef -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