Equity (Details) | 3 Months Ended | 6 Months Ended | | | |
Jun. 30, 2015USD ($)$ / sharesshares | Jun. 30, 2014USD ($) | Jun. 30, 2015USD ($)plan$ / sharesshares | Jun. 30, 2014USD ($) | Apr. 27, 2015USD ($) | Jan. 05, 2015USD ($) | May. 12, 2014USD ($) |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Number of share-based compensation plans | plan | | | | 3 | | | | |
Outstanding assumed options (in shares) | shares | | 195,000 | | 195,000 | | | | |
Additional shares authorized by Board of Directors (in shares) | shares | | | | 4,000,000 | | | | |
Shares authorized (in shares) | shares | | 26,500,000 | | 26,500,000 | | | | |
Total unrecognized compensation expense | $ | | $ 10,382,361 | | $ 10,382,361 | | | | |
Number of shares [Roll forward] | | | | | | | | |
Outstanding, beginning of period (in shares) | shares | | | | 16,474,227 | | | | |
Granted (in shares) | shares | | | | 75,100 | | | | |
Exercised (in shares) | shares | | | | (1,363,600) | | | | |
Unvested options forfeited (in shares) | shares | | | | (147,478) | | | | |
Vested options expired (in shares) | shares | | | | (3,332) | | | | |
Outstanding, end of period (in shares) | shares | | 15,034,917 | | 15,034,917 | | | | |
Vested at end of period (in shares) | shares | | 10,613,022 | | 10,613,022 | | | | |
Exercisable options, vested and expected to vest (in shares) | shares | [1] | 14,872,513 | | 14,872,513 | | | | |
Weighted-Average Exercise Price [Roll forward] | | | | | | | | |
Outstanding, weighted average exercise price, beginning of period (in dollars per share) | | | | $ 3.43 | | | | |
Granted, weighted average exercise price (in dollars per share) | | | | 9.67 | | | | |
Exercised, weighted average exercise price (in dollars per share) | | | | 2 | | | | |
Unvested options forfeited weighted-average exercise price (in dollars per share) | | | | 6.72 | | | | |
Vested options expired weighted-average exercise price (in dollars per share) | | | | 7 | | | | |
Outstanding, weighted average exercise price, end of period (in dollars per share) | | $ 3.56 | | 3.56 | | | | |
Vested at end of period weighted average exercise price (in dollars per share) | | 2.56 | | 2.56 | | | | |
Vested and expected to vest, weighted average exercise price (in dollars per share) | [1] | $ 3.53 | | $ 3.53 | | | | |
Stock options, additional disclosures [Abstract] | | | | | | | | |
Vested at end of period weighted average remaining contractual term | | | | 6 years 4 months 24 days | | | | |
Vested and expected to vest, weighted average remaining contractual term | [1] | | | 6 years 10 months 24 days | | | | |
Outstanding intrinsic value | $ | | $ 120,703,345 | | $ 120,703,345 | | | | |
Vested at end of period aggregate intrinsic value | $ | | 95,795,241 | | 95,795,241 | | | | |
Vested and expected to vest, aggregate intrinsic value | $ | [1] | $ 119,928,454 | | 119,928,454 | | | | |
Exercised options, intrinsic value | $ | | | | $ 11,209,214 | | | | |
Number of outstanding options (in shares) | shares | | 15,034,917 | | 15,034,917 | | | | |
Outstanding Options, weighted average remaining contractual term | | | | 6 years 10 months 24 days | | | | |
Outstanding Options, weighted average exercise price (in dollars per share) | | $ 3.56 | | $ 3.56 | | | | |
Number of exercisable options (in shares) | shares | | 10,613,022 | | 10,613,022 | | | | |
Exercisable Options, weighted average exercise price (in dollars per share) | | $ 2.56 | | $ 2.56 | | | | |
Fair value options valuation assumptions [Abstract] | | | | | | | | |
Expected volatility Minimum | | | | 54.40% | 63.80% | | | |
Expected volatility Maximum | | | | 58.10% | 64.50% | | | |
Expected life (in years) | | | | 6 years | 6 years | | | |
Expected dividend yield | | | | 0.00% | 0.00% | | | |
Risk-free interest rate Minimum | | | | 1.51% | 1.69% | | | |
Risk-free interest rate Maximum | | | | 1.68% | 1.96% | | | |
Share-based Compensation [Abstract] | | | | | | | | |
Share-based compensation expense | $ | | $ 4,255,000 | $ 2,767,000 | $ 8,186,000 | $ 5,139,000 | | | |
Weighted-average grant date fair value for options granted during the period (in dollars per share) | | | | $ 5.15 | | | | |
Weighted- Average Grant Date Fair Value | | | | | | | | |
Authorized share amount for repurchase | $ | | | | | | $ 30,000,000 | $ 20,000,000 | $ 10,000,000 |
Stock repurchase (in shares) | shares | | | | 1,818,753 | | | | |
Shares repurchased, value | $ | | | | $ 16,589,000 | | | | |
Brokerage commissions | $ | | | | 52,000 | | | | |
Remaining authorizations under the repurchase program | $ | | $ 7,828,000 | | $ 7,828,000 | | | | |
Shares reissued from the treasury | shares | | | | 2,241,337 | | | | |
Shares reissued from the treasury, value | $ | | | | $ 17,066,000 | | | | |
Warrants | | | | | | | | |
Weighted- Average Grant Date Fair Value | | | | | | | | |
Warrants outstanding (in shares) | shares | | 42,400 | | 42,400 | | | | |
Warrants outstanding (in dollars per share) | | $ 1.09 | | $ 1.09 | | | | |
Cost of Products Sold | | | | | | | | |
Share-based Compensation [Abstract] | | | | | | | | |
Share-based compensation expense | $ | | $ 90,000 | 75,000 | $ 184,000 | 172,000 | | | |
Research and Development | | | | | | | | |
Share-based Compensation [Abstract] | | | | | | | | |
Share-based compensation expense | $ | | 203,000 | 163,000 | 389,000 | 323,000 | | | |
Selling, General and Administrative | | | | | | | | |
Share-based Compensation [Abstract] | | | | | | | | |
Share-based compensation expense | $ | | $ 3,962,000 | $ 2,529,000 | $ 7,613,000 | $ 4,644,000 | | | |
$0.50 - $0.76 | | | | | | | | |
Stock options, additional disclosures [Abstract] | | | | | | | | |
Exercise Price Range, lower range limit (in dollars per share) | | | | $ 0.50 | | | | |
Exercise Price Range, upper range limit (in dollars per share) | | | | $ 0.76 | | | | |
Number of outstanding options (in shares) | shares | | 441,429 | | 441,429 | | | | |
Outstanding Options, weighted average remaining contractual term | | | | 3 years 10 months 24 days | | | | |
Outstanding Options, weighted average exercise price (in dollars per share) | | $ 0.72 | | $ 0.72 | | | | |
Number of exercisable options (in shares) | shares | | 441,429 | | 441,429 | | | | |
Exercisable Options, weighted average exercise price (in dollars per share) | | $ 0.72 | | $ 0.72 | | | | |
$0.87 - $1.35 | | | | | | | | |
Stock options, additional disclosures [Abstract] | | | | | | | | |
Exercise Price Range, lower range limit (in dollars per share) | | | | 0.87 | | | | |
Exercise Price Range, upper range limit (in dollars per share) | | | | $ 1.35 | | | | |
Number of outstanding options (in shares) | shares | | 5,248,457 | | 5,248,457 | | | | |
Outstanding Options, weighted average remaining contractual term | | | | 6 years 2 months 12 days | | | | |
Outstanding Options, weighted average exercise price (in dollars per share) | | $ 1.19 | | $ 1.19 | | | | |
Number of exercisable options (in shares) | shares | | 5,248,457 | | 5,248,457 | | | | |
Exercisable Options, weighted average exercise price (in dollars per share) | | $ 1.19 | | $ 1.19 | | | | |
$1.40 - $2.33 | | | | | | | | |
Stock options, additional disclosures [Abstract] | | | | | | | | |
Exercise Price Range, lower range limit (in dollars per share) | | | | 1.40 | | | | |
Exercise Price Range, upper range limit (in dollars per share) | | | | $ 2.33 | | | | |
Number of outstanding options (in shares) | shares | | 1,255,051 | | 1,255,051 | | | | |
Outstanding Options, weighted average remaining contractual term | | | | 4 years 3 months 18 days | | | | |
Outstanding Options, weighted average exercise price (in dollars per share) | | $ 1.66 | | $ 1.66 | | | | |
Number of exercisable options (in shares) | shares | | 1,201,715 | | 1,201,715 | | | | |
Exercisable Options, weighted average exercise price (in dollars per share) | | $ 1.66 | | $ 1.66 | | | | |
$2.45 - $3.75 | | | | | | | | |
Stock options, additional disclosures [Abstract] | | | | | | | | |
Exercise Price Range, lower range limit (in dollars per share) | | | | 2.45 | | | | |
Exercise Price Range, upper range limit (in dollars per share) | | | | $ 3.75 | | | | |
Number of outstanding options (in shares) | shares | | 1,614,123 | | 1,614,123 | | | | |
Outstanding Options, weighted average remaining contractual term | | | | 7 years 2 months 12 days | | | | |
Outstanding Options, weighted average exercise price (in dollars per share) | | $ 2.78 | | $ 2.78 | | | | |
Number of exercisable options (in shares) | shares | | 969,265 | | 969,265 | | | | |
Exercisable Options, weighted average exercise price (in dollars per share) | | $ 2.78 | | $ 2.78 | | | | |
$3.95 - $5.99 | | | | | | | | |
Stock options, additional disclosures [Abstract] | | | | | | | | |
Exercise Price Range, lower range limit (in dollars per share) | | | | 3.95 | | | | |
Exercise Price Range, upper range limit (in dollars per share) | | | | $ 5.99 | | | | |
Number of outstanding options (in shares) | shares | | 3,151,217 | | 3,151,217 | | | | |
Outstanding Options, weighted average remaining contractual term | | | | 7 years 10 months 24 days | | | | |
Outstanding Options, weighted average exercise price (in dollars per share) | | $ 5.18 | | $ 5.18 | | | | |
Number of exercisable options (in shares) | shares | | 1,808,318 | | 1,808,318 | | | | |
Exercisable Options, weighted average exercise price (in dollars per share) | | $ 5.13 | | $ 5.13 | | | | |
$6.02 - $9.13 | | | | | | | | |
Stock options, additional disclosures [Abstract] | | | | | | | | |
Exercise Price Range, lower range limit (in dollars per share) | | | | 6.02 | | | | |
Exercise Price Range, upper range limit (in dollars per share) | | | | $ 9.13 | | | | |
Number of outstanding options (in shares) | shares | | 3,124,540 | | 3,124,540 | | | | |
Outstanding Options, weighted average remaining contractual term | | | | 8 years 2 months 12 days | | | | |
Outstanding Options, weighted average exercise price (in dollars per share) | | $ 7.06 | | $ 7.06 | | | | |
Number of exercisable options (in shares) | shares | | 943,838 | | 943,838 | | | | |
Exercisable Options, weighted average exercise price (in dollars per share) | | $ 7.05 | | $ 7.05 | | | | |
$9.22- $10.99 | | | | | | | | |
Stock options, additional disclosures [Abstract] | | | | | | | | |
Exercise Price Range, lower range limit (in dollars per share) | | | | 9.22 | | | | |
Exercise Price Range, upper range limit (in dollars per share) | | | | $ 10.99 | | | | |
Number of outstanding options (in shares) | shares | | 200,100 | | 200,100 | | | | |
Outstanding Options, weighted average remaining contractual term | | | | 9 years 6 months | | | | |
Outstanding Options, weighted average exercise price (in dollars per share) | | $ 10.12 | | $ 10.12 | | | | |
Number of exercisable options (in shares) | shares | | 0 | | 0 | | | | |
Exercisable Options, weighted average exercise price (in dollars per share) | | $ 0 | | $ 0 | | | | |
Restricted Stock Awards | | | | | | | | |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | | | | | | | | |
Expenses expected to be recognized over a weighted-average period | | | | 2 years 4 months 24 days | | | | |
Total unrecognized stock-based compensation related to time-based, nonvested restricted stock | $ | | $ 17,398,491 | | $ 17,398,491 | | | | |
Number of Shares | | | | | | | | |
Beginning Balance | shares | | | | 1,228,898 | | | | |
Granted | shares | | | | 1,575,754 | | | | |
Vested | shares | | | | (252,427) | | | | |
Forfeited | shares | | | | (18,169) | | | | |
Ending Balance | shares | | 2,534,056 | | 2,534,056 | | | | |
Weighted- Average Grant Date Fair Value | | | | | | | | |
Beginning Balance (in dollars per share) | | | | $ 7.16 | | | | |
Granted (in dollars per share) | | | | 9.56 | | | | |
Vested (in dollars per share) | | | | 6.53 | | | | |
Forfeited (in dollars per share) | | | | 9.38 | | | | |
Beginning Balance (in dollars per share) | | $ 8.70 | | $ 8.70 | | | | |
| |
[1] | Includes forfeiture adjusted unvested shares. | |