Income Taxes - Schedule of Deferred Tax Assets and Liabilities (Details) - USD ($)  | 
Dec. 31, 2019  | 
Dec. 31, 2018  | 
Dec. 31, 2017  | 
|---|---|---|---|
| Income Tax Disclosure [Abstract] | |||
| Net operating loss carryforwards | $ 50,802,000 | $ 38,761,000 | |
| General business credit carryforwards | 3,939,000 | 3,214,000 | |
| State credits | 2,934,000 | 3,012,000 | |
| Property, equipment and goodwill | (28,000) | (72,000) | |
| Stock options | 7,960,000 | 6,316,000 | |
| Derivatives | (57,000) | ||
| Deferred revenue | 62,000 | 62,000 | |
| Intangible assets | 1,625,000 | 399,000 | |
| Other | 28,000 | 80,000 | |
| Gross deferred tax assets | 67,322,000 | 51,715,000 | |
| Valuation allowance | (67,322,000) | (51,715,000) | |
| Net deferred taxes | $ 34,400,000 | 
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from deferred income. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from intangible assets including goodwill. No definition available. 
  | 
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount, after allocation of valuation allowances and deferred tax liability, of deferred tax asset attributable to deductible differences and carryforwards, without jurisdictional netting. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible operating loss carryforwards. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount, before allocation of valuation allowance, of deferred tax asset attributable to deductible temporary differences, classified as other. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from state taxes. No definition available. 
  | 
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible general business tax credit carryforwards. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from share-based compensation. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from derivatives. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- Definition Amount of deferred tax liability attributable to taxable temporary differences from property, plant, and equipment. Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef 
  | 
| X | ||||||||||
- References No definition available. 
  |