v2.4.1.9

Net (loss) income per share attributable to common stockholders | 12 Months Ended
--- | ---
Dec. 31, 2014
Net (loss) income per share attributable to common stockholders |
Net (loss) income per share attributable to common stockholders | 17. Net (loss) income per share attributable to common stockholders The following table sets forth the 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 |
For the years ended December 31, 2014 and 2013, we excluded all stock options and RSUs from the computation of diluted net loss per share due to the net loss for the period. For the year ended December 31, 2012, we excluded approximately 2,518,000 stock options in the computation of diluted net income per share as the inclusion would have been anti-dilutive.

X
- 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://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 50 -Paragraph 1 -Subparagraph (a) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 Reference 2: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 3 -URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1278-109256 Reference 3: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 45 -Paragraph 2 -URI http://asc.fasb.org/extlink&oid=7655603&loc=d3e1252-109256 Reference 4: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 260 -SubTopic 10 -Section 55 -Paragraph 52 -URI http://asc.fasb.org/extlink&oid=32703322&loc=d3e4984-109258 Reference 5: http://www.xbrl.org/2003/role/presentationRef -Publisher FASB -Name Accounting Standards Codification -Topic 225 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03.21) -URI http://asc.fasb.org/extlink&oid=26872669&loc=d3e20235-122688 + Details
Name: | us-gaap_EarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
Balance Type: | na
Period Type: | duration