|
Stock-based compensation - Common Stock and Receivable from Shareholder - Narrative (Details) (USD $)
|
0 Months Ended | 12 Months Ended | 12 Months Ended | 0 Months Ended | 12 Months Ended | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
Dec. 07, 2012
|
Dec. 31, 2012
|
Dec. 31, 2011
|
Dec. 31, 2010
|
Sep. 30, 2013
|
Jun. 03, 2010
|
Dec. 31, 2010
Warrant [Member]
|
Jun. 13, 2011
Common stock
|
Dec. 31, 2012
Common stock
|
Dec. 31, 2011
Common stock
|
Dec. 31, 2010
Common stock
|
|
| Class of Stock [Line Items] | |||||||||||
| Shares of common stock issued in private placements | 212,500 | 1,179,230 | 465,866 | ||||||||
| Private placements, price in usd per share | $ 3.20 | $ 2.60 | $ 2.60 | ||||||||
| Net cash proceeds from private placements | $ 680,000 | $ 3,610,993 | $ 1,211,249 | ||||||||
| Redeemable common stock | 0 | 0 | 0 | 500,000 | |||||||
| Redeemable common stock, redemption right maximum period | 5 years | ||||||||||
| Common stock, shares outstanding | 13,611,974 | 13,498,471 | 12,232,762 | 13,574,474 | |||||||
| Promissory note to investor | 0 | 345,000 | 345,000 | ||||||||
| Promissory note to investor, interest rate margin on Bank Prime Rate | 3.00% | ||||||||||
| Promissory note to investor, shares held as collateral | 287,500 | ||||||||||
| Promissory note to investor, repaid with cash | 105,000 | 105,000 | 0 | 0 | |||||||
| Options repurchased from consultant, fair value in usd per share | 100,000 | ||||||||||
| Promissory note to investor, repaid with return of shares, price in usd per share | $ 2.40 | ||||||||||
| Granted (shares) | 118,750 | ||||||||||
| Proceeds from Warrant Exercises | $ 0 | $ 0 | $ 142,500 | $ 142,500 | |||||||
| Warrant expired | 6,250 | ||||||||||
| X | ||||||||||
|
- Definition
Proceeds from Payments on Receivable from Shareholders or Affiliates No definition available.
|
| X | ||||||||||
|
- Definition
Receivable from Shareholders, Basis Spread on Variable Rate No definition available.
|
| X | ||||||||||
|
- Definition
Receivable from Shareholders, Shares Held as Collateral No definition available.
|
| X | ||||||||||
|
- Definition
Receivable from Shareholders, Shares Reacquired and Retired No definition available.
|
| X | ||||||||||
|
- Definition
Receivable from Shareholders, Shares Reacquired and Retired, Price Per Share No definition available.
|
| X | ||||||||||
|
- Definition
Price per share of common stock sold during the period. No definition available.
|
| X | ||||||||||
|
- Definition
Temporary Equity, Redemption Right Period, Maximum No definition available.
|
| X | ||||||||||
|
- Details
|
| X | ||||||||||
|
- Definition
Number of shares of common stock outstanding. Common stock represent the ownership interest in a corporation. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
|
- Definition
The cash inflow associated with the amount received from entity's raising of capital via private rather than public placement. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
|
- Definition
The cash inflow associated with the amount received from holders exercising their stock warrants. No definition available.
|
| X | ||||||||||
|
- Definition
Amounts due from owners or affiliates of the reporting entity related to issuance of the entity's capital stock before cash payment is received (does not include amounts due from officers or directors). This element would also include the receivable for proceeds from the issuance of shares under employee stock option exercises which proceeds have not been received as of the reporting date due to the timing of the transaction date versus the settlement date. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
|
- Definition
The number of equity-based payment instruments, excluding stock (or unit) options, that were forfeited during the reporting period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
|
- Definition
The number of grants made during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan). Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
|
- Definition
Number of new stock issued during the period. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
|
- Definition
Carrying amount, attributable to parent and noncontrolling interests, of an entity's issued and outstanding stock which is not included within permanent equity. Temporary equity is a security with redemption features that are outside the control of the issuer, is not classified as an asset or liability in conformity with GAAP, and is not mandatorily redeemable. Includes any type of security that is redeemable at a fixed or determinable price or on a fixed or determinable date or dates, is redeemable at the option of the holder, or has conditions for redemption which are not solely within the control of the issuer. Includes stock with a put option held by an ESOP and stock redeemable by a holder only in the event of a change in control of the issuer. No definition available.
|