Share-Based Payments - Additional Information (Detail) (USD $) | 3 Months Ended | 6 Months Ended |
Jun. 30, 2014 | Jun. 30, 2013 | Jun. 30, 2014 | Jun. 30, 2013 |
Milestone |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ' | ' | ' | ' |
Stock options granted | 30,000 | ' | 30,000 | ' |
Stock options exercised | 4,000 | ' | 34,000 | ' |
Stock options outstanding | 1,770,000 | ' | 1,770,000 | ' |
Number of shares cancelled in stock | 5,000 | ' | 7,269 | ' |
Restricted stock outstanding | 57,500 | ' | 57,500 | ' |
Option granted | 737,000 | ' | 737,000 | ' |
Stock discrete acceleration milestones | ' | ' | 2 | ' |
Period of accelerated in milestones | ' | ' | '30 days | ' |
Stock compensation costs | $469,000 | $360,000 | $2,413,000 | $658,000 |
Stock options vesting, outstanding | 0 | ' | ' | ' |
Total unrecognized compensation cost related to unvested stock compensation | 1,800,000 | ' | 1,800,000 | ' |
Amortized unrecognized compensation cost period | ' | ' | '3 years | ' |
Milestone One [Member] | ' | ' | ' | ' |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ' | ' | ' | ' |
Stock Price of Discrete Acceleration Milestones | ' | ' | $8 | ' |
Milestone Two [Member] | ' | ' | ' | ' |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ' | ' | ' | ' |
Stock Price of Discrete Acceleration Milestones | ' | ' | $10 | ' |
Remainder of 2014 [Member] | ' | ' | ' | ' |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ' | ' | ' | ' |
Amortization of cost of unvested stock compensation arrangements | ' | ' | 700,000 | ' |
2015 [Member] | ' | ' | ' | ' |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ' | ' | ' | ' |
Amortization of cost of unvested stock compensation arrangements | ' | ' | 1,000,000 | ' |
2016 [Member] | ' | ' | ' | ' |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ' | ' | ' | ' |
Amortization of cost of unvested stock compensation arrangements | ' | ' | 100,000 | ' |
General and Administrative [Member] | ' | ' | ' | ' |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ' | ' | ' | ' |
Stock compensation costs | 390,000 | 299,000 | 1,858,000 | 539,000 |
General and Administrative [Member] | Accelerated Vesting [Member] | ' | ' | ' | ' |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ' | ' | ' | ' |
Stock compensation costs | ' | ' | 1,100,000 | ' |
Cost of Revenue [Member] | ' | ' | ' | ' |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ' | ' | ' | ' |
Stock compensation costs | 79,000 | 61,000 | 555,000 | 119,000 |
Cost of Revenue [Member] | Accelerated Vesting [Member] | ' | ' | ' | ' |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ' | ' | ' | ' |
Stock compensation costs | ' | ' | $400,000 | ' |
Restricted Stock [Member] | ' | ' | ' | ' |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] | ' | ' | ' | ' |
Restricted stock vested | 20,000 | ' | 26,250 | ' |