v3.10.0.1

Net income (loss) per share attributable to common stockholders | 6 Months Ended
--- | ---
Jun. 30, 2018
Net income (loss) per share attributable to common stockholders |
Net income (loss) per share attributable to common stockholders | 11. Net income (loss) per share attributable to common stockholders The following table sets forth the 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.
For the six months ended June 30, 2018 and the three and six months ended June 30, 2017, 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 months ended June 30, 2018, we excluded the assumed issuance of approximately 27,000 shares of common stock under RSUs from the computation of diluted net income per share as the inclusion would have been anti-dilutive. On April 1, 2013, the Company approved a stock repurchase program to repurchase up to $10,000 of the Company’s common stock in the open market, exclusive of any commissions, markups or expenses. The stock repurchased will be retired and will resume the status of authorized but unissued shares of common stock. The Company did not repurchase any of our common stock during the three and six months ended June 30, 2018. As of June 30, 2018, the remaining approved amount for repurchases was approximately $5,180.

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