v2.4.1.9

Net (loss) income per share attributable to common stockholders (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2014
Net (loss) income per share attributable to common stockholders |
Schedule of computation of basic and diluted net (loss) income per share attributable to common stockholders |
|  | Years ended December 31, |
|  | 2014 |  | 2013 |  | 2012 |
|  | (in thousands) |
Numerator: |  |  |  |  |  |  |  |  |  |
Net (loss) income attributable to common stockholders, basic and diluted |  | $ | (19,521 | ) | $ | (3,968 | ) | $ | 7,295 |
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Denominator: |  |  |  |  |  |  |  |  |  |
Weighted average common stock, basic |  |  | 35,753 |  |  | 35,578 |  |  | 34,774 |
Effect of dilutive stock options |  |  | — |  |  | — |  |  | 2,543 |
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Weighted average common stock, diluted |  |  | 35,753 |  |  | 35,578 |  |  | 37,317 |
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​ | ​
Net (loss) income per share attributable to common stockholders: |  |  |  |  |  |  |  |  |  |
Basic |  | $ | (0.55 | ) | $ | (0.11 | ) | $ | 0.21 |
Diluted |  | $ | (0.55 | ) | $ | (0.11 | ) | $ | 0.20 |

X
- 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://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