Income Taxes - Unrecognized Tax Benefits (Details) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Dec. 31, 2016 |
Dec. 31, 2015 |
|
| Interest and penalties accrued | $ 0 | |
| Reconciliation of the beginning and ending amount of gross unrecognized tax benefits | ||
| Balance at beginning of year | 2,405 | $ 1,360 |
| Additions based on tax positions related to the current year | 1,836 | 1,045 |
| Additions for tax positions of prior years | 52 | |
| Balance at end of year | 4,293 | 2,405 |
| Research and development tax credit carryforward | ||
| Unrecognized tax benefits increased | $ 1,900 | $ 1,000 |
| X | ||||||||||
- Definition A roll forward is a reconciliation of a concept from the beginning of a period to the end of a period. No definition available.
|
| X | ||||||||||
- Definition Amount of unrecognized tax benefits. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount accrued for interest on an underpayment of income taxes and penalties related to a tax position claimed or expected to be claimed in the tax return. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions that have been or will be taken in current period tax return. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount of increase in unrecognized tax benefits resulting from tax positions taken in prior period tax returns. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount of increase (decrease) in unrecognized tax benefits attributable to uncertain tax positions taken in tax returns. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Details
|