CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Parenthetical) - USD ($) $ in Thousands  | 
9 Months Ended | |
|---|---|---|
Sep. 30, 2017  | 
Sep. 30, 2016  | 
|
| Statement of Cash Flows [Abstract] | ||
| Expenses from sale of common stock | $ 1,168 | $ 1,294 | 
| X | ||||||||||
- Definition The cash outflow for cost incurred directly with the issuance of an equity security. Reference 1: http://www.xbrl.org/2003/role/presentationRef 
  | 
| X | ||||||||||
- References No definition available. 
  |