v3.10.0.1

Earnings Per Share (Tables) | 6 Months Ended
--- | ---
Jun. 30, 2018
Earnings Per Share [Abstract] |
Computation of basic and diluted net income (loss) per share | The computation of the Company’s basic and diluted net income per share are as follows (in thousands, except per share amounts):
|  | Three Months Ended June 30, |  | Six Months Ended June 30,
|  | 2018 |  | 2017 |  | 2018 |  | 2017
Numerator: |  |  |  |  |  |  |  |
Net income attributable to common stockholders |  | $ | 7,409 |  |  | $ | 18,346 |  |  | $ | 35,441 |  |  | $ | 28,228 |
Denominator: |  |  |  |  |  |  |  |  |  |
Weighted average shares used to compute net income per share attributable to common stockholders, basic |  | 109,559 |  |  | 105,093 |  |  | 108,510 |  |  | 104,568 |
Weighted average effect of potentially dilutive shares to purchase common stock |  | 7,508 |  |  | 2,254 |  |  | 5,420 |  |  | 2,343 |
Weighted average shares used to compute net income per share attributable to common stockholders, diluted |  | 117,067 |  |  | 107,347 |  |  | 113,930 |  |  | 106,911 |
Net income per share attributable to common stockholders |  |  |  |  |  |  |  |  |  |
Basic |  | $ | 0.07 |  |  | $ | 0.17 |  |  | $ | 0.33 |  |  | $ | 0.27 |
Diluted |  | $ | 0.06 |  |  | $ | 0.17 |  |  | $ | 0.31 |  |  | $ | 0.26 |
Schedule of shares excluded from computation of diluted net income per share | The following shares were excluded from the computation of diluted net income per share as the impact of including those shares would be anti-dilutive (in thousands):
|  | Three Months Ended June 30, |  | Six Months Ended June 30,
|  | 2018 |  | 2017 |  | 2018 |  | 2017
Warrants |  | 1,251 |  |  | 1,251 |  |  | 1,251 |  |  | 1,251 |
Outstanding stock options |  | 2,188 |  |  | 13,712 |  |  | 6,052 |  |  | 13,712 |
Unvested restricted stock units |  | 334 |  |  | 1,256 |  |  | 1,057 |  |  | 1,256 |
Total |  | 3,773 |  |  | 16,219 |  |  | 8,360 |  |  | 16,219 |

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 securities (including those issuable pursuant to contingent stock agreements) that could potentially dilute basic earnings per share (EPS) in the future that were not included in the computation of diluted EPS because to do so would increase EPS amounts or decrease loss per share amounts for the period presented, by antidilutive securities. + 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 (c) -URI http://asc.fasb.org/extlink&oid=6371337&loc=d3e3550-109257 + Details
Name: | us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTextBlock
Namespace Prefix: | us-gaap_
Data Type: | nonnum:textBlockItemType
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