| CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS (Parenthetical) - USD ($) $ in Thousands | 6 Months Ended | |
|---|---|---|
| Jun. 30, 2017 | Jun. 30, 2016 | |
| Statement of Cash Flows [Abstract] | ||
| Expenses from sale of common stock | $ 1,168 | $ 1,065 | 
| 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. 
 |