| Income Taxes - Components of Deferred Income Tax Assets (Detail) (USD $) In Thousands, unless otherwise specified | Dec. 31, 2012 | Dec. 31, 2011 | 
|---|---|---|
| Deferred tax assets: | ||
| Deferred tax assets, Net operating loss carryforwards | $ 8,216 | $ 6,155 | 
| Deferred tax assets, Research and development credits | 9,088 | 8,077 | 
| Deferred tax assets, Accrued expenses and other | 1,970 | 644 | 
| Deferred tax assets, Stock-based compensation | 3,184 | 1,685 | 
| Deferred tax assets, Gross | 22,458 | 16,561 | 
| Less valuation allowance | (22,243) | (16,029) | 
| Deferred tax assets, net | 215 | 532 | 
| Deferred tax liability: | ||
| Deferred tax liability, Depreciation and amortization | (215) | (532) | 
| Net deferred tax assets | 
| X | ||||||||||
| 
- Definition Deferred Tax Liabilities Depreciation And Amortization No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards, net of deferred tax liability attributable to taxable temporary differences. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Amount after allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences not separately disclosed. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible research tax credit carryforwards. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from share-based compensation. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
 | 
| X | ||||||||||
| 
- Details 
 |