| Leases (Details) | 12 Months Ended | |
|---|---|---|
| Dec. 31, 2020 | Dec. 31, 2019 | |
| Lessee, Lease, Description [Line Items] | ||
| Option to extend | true | |
| Residual value guarantee | false | |
| Weighted average remaining lease term (in years) - operating leases | 3 years 4 months 13 days | 4 years 6 months 4 days | 
| Weighted average discount rate - operating leases | 7.67% | 8.00% | 
| Minimum | ||
| Lessee, Lease, Description [Line Items] | ||
| Lease term | 1 year | |
| Maximum | ||
| Lessee, Lease, Description [Line Items] | ||
| Lease term | 7 years | 
| 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 | ||||||||||
| 
- Definition Indicates (true false) whether lessee has option to extend operating lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Indicates (true false) whether lessee provided residual value guarantee for operating lease. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Term of lessee's operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef 
 | 
| X | ||||||||||
| 
- Definition Weighted average discount rate for operating lease calculated at point in time. Reference 1: http://www.xbrl.org/2003/role/disclosureRef 
 | 
| X | ||||||||||
| 
- Definition Weighted average remaining lease term for operating lease, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Reference 1: http://www.xbrl.org/2003/role/exampleRef 
 | 
| X | ||||||||||
| 
- Details 
 | 
| X | ||||||||||
| 
- Details 
 |