|
Long-term debt - Textual (Details) (USD $)
|
0 Months Ended |
|
|
0 Months Ended |
|
12 Months Ended |
|
Jun. 27, 2013
Line of Credit [Member]
|
Jun. 30, 2013
Line of Credit [Member]
|
Dec. 31, 2013
Line of Credit [Member]
|
Jun. 28, 2013
Line of Credit [Member]
|
Jun. 30, 2013
Line of Credit [Member]
London Interbank Offered Rate (LIBOR) [Member]
|
Jun. 27, 2013
Maximum [Member]
Line of Credit [Member]
|
Jun. 27, 2013
Minimum [Member]
Line of Credit [Member]
|
Dec. 31, 2013
Other Income [Member]
|
| Debt Instrument [Line Items] |
|
|
|
|
|
|
|
|
| Maximum borrowing capacity on term loan credit agreement |
$ 20,000,000.0 |
|
|
|
|
|
|
|
| Amount borrowed under term loan credit agreement |
|
|
|
12,000,000.0 |
|
|
|
|
| Amount remaining on term loan credit agreement, tranche 2 |
|
|
8,000,000.0 |
|
|
|
|
|
| Credit agreement terms for tranche 2, completion of a public equity offering, amount of equity offering |
40,000,000.0 |
|
|
|
|
|
|
|
| Term of the credit agreement (in years) |
|
4 years |
|
|
|
|
|
|
| Variable rate, reference rate on the credit agreement, percentage |
|
6.50% |
|
|
|
|
|
|
| Variable rate, minimum basis spread on the reference rate, percentage |
|
2.00% |
|
|
|
|
|
|
| Variable rate, maximum basis spread on the reference rate, interest rate index, period |
|
|
|
|
1 month |
|
|
|
| Number of monthly installments under the credit agreement |
|
30 months |
|
|
|
|
|
|
| Credit agreement, terms, exit fee on the total amount borrowed, percentage |
|
5.00% |
|
|
|
|
|
|
| Credit agreement, terms, facility fee due upon execution of the agreement, percentage |
|
0.50% |
|
|
|
|
|
|
| Credit agreement, terms, quarterly administrative fee, amount |
|
2,500 |
|
|
|
|
|
|
| Credit agreement, terms, prepayment premium minimum percentage |
|
1.00% |
|
|
|
|
|
|
| Credit agreement, terms, prepayment premium maximum percentage |
|
3.00% |
|
|
|
|
|
|
| Warrants issued in relation to the credit agreement, tranche 1 |
|
28,406 |
|
|
|
|
|
|
| Warrant, Anticipated Price of Warrant |
|
|
|
|
|
12.68 |
12.00 |
|
| Term of warrants issued in relation to credit agreement (in years) |
|
10 years |
|
|
|
|
|
|
| Fair value of the warrants |
|
|
261,000 |
|
|
|
|
|
| Gain (Loss) from Initial Public Offering after Revaluation of Exercise Price |
|
|
|
|
|
|
|
$ 20,000 |