| Leases (Details 6) - USD ($) $ in Thousands | 3 Months Ended | |
|---|---|---|
| Mar. 31, 2020 | Mar. 31, 2019 | |
| Leases [Abstract] | ||
| Operating cash flows for operating leases | $ 311 | $ 228 | 
| Financing cash flows for financing leases | $ 0 | $ 52 | 
| X | ||||||||||
| 
- Definition Amount of cash outflow for principal payment on finance lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- References No definition available. 
 | 
| X | ||||||||||
| 
- Definition Amount of cash outflow from operating lease, excluding payments to bring another asset to condition and location necessary for its intended use. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 |