Supplemental financial information - Earnings Per Share (Details)
12 Months Ended
Dec. 31, 2013
Dec. 31, 2012
Dec. 31, 2011
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Anti-dilutive shares excluded from the computation of net loss per share 2,416,800 11,772,362 10,040,333
Series A Preferred Stock [Member]
     
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Anti-dilutive shares excluded from the computation of net loss per share 0 2,914,187 2,914,187
Series B Preferred Stock [Member]
     
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Anti-dilutive shares excluded from the computation of net loss per share 0 7,232,092 5,572,000
Equity Option [Member]
     
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Anti-dilutive shares excluded from the computation of net loss per share 2,388,394 1,617,875 1,545,938
Common Stock Warrants [Member] | Warrant [Member]
     
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Anti-dilutive shares excluded from the computation of net loss per share 28,406 8,208 8,208