Commitments and contingencies - Notes payable and Letters of credit (Details) $ in Thousands |
12 Months Ended | |
|---|---|---|
|
Dec. 31, 2016
USD ($)
item
|
Dec. 31, 2015
USD ($)
|
|
| Future payments | ||
| Current portion of notes payable | $ 1,123 | $ 151 |
| Non-current portion of notes payable | $ 1,661 | $ 119 |
| Letter of Credit | ||
| Commitments and contingencies | ||
| Term period of notes payable or Letters of Credit agreements | 1 year | |
| Letters of credit | ||
| Current issued borrowing capacity | $ 3,840 | |
| Number of drafts drawn under Letters of Credit | item | 0 | |
| Notes payable | ||
| Commitments and contingencies | ||
| Term period of notes payable or Letters of Credit agreements | 3 years | |
| Future payments | ||
| 2017 | $ 1,123 | |
| 2018 | 1,109 | |
| 2019 | 552 | |
| Total | $ 2,784 | |
| Notes payable | Minimum | ||
| Notes Payable | ||
| Interest rates for outstanding notes payable | 2.00% | |
| Notes payable | Maximum | ||
| Notes Payable | ||
| Interest rates for outstanding notes payable | 4.80% |
| X | ||||||||||
- Definition Period of time between issuance and maturity of debt instrument, in PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. No definition available.
|
| X | ||||||||||
- Definition Weighted average interest rate of debt outstanding. No definition available.
|
| X | ||||||||||
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount, after unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but not limited to, notes payable, bonds payable, debentures, mortgage loans and commercial paper. Excludes capital lease obligations. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the next fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the third fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Amount of long-term debt payable, sinking fund requirements, and other securities issued that are redeemable by holder at fixed or determinable prices and dates maturing in the second fiscal year following the latest fiscal year. Excludes interim and annual periods when interim periods are reported on a rolling approach, from latest balance sheet date. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Carrying value as of the balance sheet date of notes payable (with maturities initially due after one year or beyond the operating cycle if longer), excluding current portion. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. No definition available.
|
| X | ||||||||||
- References No definition available.
|
| X | ||||||||||
- Definition Sum of the carrying values as of the balance sheet date of the portions of long-term notes payable due within one year or the operating cycle if longer. Reference 1: http://www.xbrl.org/2003/role/presentationRef
|
| X | ||||||||||
- Definition No definition. No definition available.
|
| X | ||||||||||
- Definition Represents number of drafts drawn under Letter of Credit authorization agreement. No definition available.
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|
| X | ||||||||||
- Details
|