| Stock Options, Restricted Stock Units and Warrants (Tables)
 | 9 Months Ended | 
| Sep. 30, 2022 | 
|---|
| Stock Options, Restricted Stock Units And Warrants [Abstract] |  | 
| Schedule of stock based compensation | 
  
    |  |  | Three months ended September 30,
 |  |  | Nine months ended September 30,
 |  |  
    |  |  | 2022 |  |  | 2021 |  |  | 2022 |  |  | 2021 |  |  
    |  |  |  |  |  |  |  |  |  |  |  |  |  |  
    | Research and development expenses |  | $ | 136 |  |  | $ | 113 |  |  | $ | 636 |  |  | $ | 647 |  |  
    | Selling, general and administrative expenses |  |  | 344 |  |  |  | 2,988 |  |  |  | 2,375 |  |  |  | 8,503 |  |  
    | Total stock-based compensation |  | $ | 480 |  |  | $ | 3,101 |  |  | $ | 3,011 |  |  | $ | 9,150 |  |    | 
| Schedule of estimation of fair value of stock-based compensation | 
  
    |  |  | Three months ended September 30,
 |  | Nine months ended September 30,
 |  
    |  |  | 2022 |  | 2021 |  | 2022 |  | 2021 |  
    | Dividend yield |  | 0% |  | 0% |  | 0% |  | 0% |  
    | Expected price volatility |  | 88.8% |  | 50.0% |  | 88.8% - 91.7% |  | 50.0% |  
    | Risk free interest rate |  | 3.96% |  | 0.66% - 1.12% |  | 3.96% - 3.25% |  | 0.22% - 1.12% |  
    | Expected term |  | 5.0 - 6.5 years |  | 6.0 - 7.0 years |  | 5.0 - 7.0 years |  | 3.0 - 7.0 years |    | 
| Schedule of stock options | 
  
    |  |  | Shares Underlying Options
 |  |  | Weighted Average Exercise
 Price
 |  |  | Weighted Average Remaining Contractual
 Term
 (Years)
 |  |  | Aggregate Intrinsic Value
 |  |  
    | Outstanding at December 31, 2021 |  |  | 11,135,432 |  |  | $ | 2.85 |  |  |  | 7.6 |  |  | $ | 13,031 |  |  
    | Granted |  |  | 832,500 |  |  | $ | 0.40 |  |  |  | - |  |  |  |  |  |  
    | Canceled |  |  | (652,776 | ) |  | $ | 3.50 |  |  |  | - |  |  |  |  |  |  
    | Forfeited |  |  | (1,476,670 | ) |  | $ | 2.60 |  |  |  | - |  |  |  |  |  |  
    | Outstanding at September 30, 2022 |  |  | 9,838,486 |  |  | $ | 2.63 |  |  |  | 6.9 |  |  | $ | 53 |  |  
    |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  
    | Exercisable at September 30, 2022 |  |  | 8,513,589 |  |  | $ | 2.79 |  |  |  | 6.5 |  |  | $ | 53 |  |    | 
| Schedule of restricted stock unit | 
  
    |  |  | Number of Shares
 |  |  | Weighted Average
 Grant-Date
 Fair Value
 |  |  
    | Unvested at December 31, 2021 |  |  | 1,939,683 |  |  | $ | 3.40 |  |  
    | Granted |  |  | 576,350 |  |  | $ | 0.62 |  |  
    | Vested |  |  | (566,666 | ) |  | $ | 2.81 |  |  
    | Issued |  |  | (1,061,905 | ) |  | $ | 4.50 |  |  
    | Unvested at September 30, 2022 |  |  | 887,462 |  |  | $ | 2.30 |  |    | 
| Schedule of warrant activity | 
  
    |  |  | Shares Underlying
 Warrants
 |  |  | Weighted Average
 Exercise Price
 |  |  | Weighted Average
 Remaining
 Contractual
 Term
 (Years)
 |  |  | Aggregate Intrinsic
 Value
 |  |  
    | Outstanding at December 31, 2021 |  |  | 4,525,177 |  |  | $ | 2.65 |  |  |  | 4.0 |  |  | $ | 7,088 |  |  
    | Issued |  |  | 1,376,602 |  |  | $ | 1.26 |  |  |  |  |  |  |  |  |  |  
    | Outstanding at September 30, 2022 |  |  | 5,901,779 |  |  | $ | 2.32 |  |  |  | 3.6 |  |  | $ | - |  |    | 
| Schedule of estimated the fair value of the warrants | 
  
    |  |  | Three months ended September 30,
 |  | Nine months ended September 30,
 |  
    |  |  | 2022 |  | 2021 |  | 2022 |  | 2021 |  
    | Expected price volatility |  | 87.3%-87.5% |  | 50.0% |  | 87.3%-103.0% |  | 50.0% |  
    | Risk free interest rate |  | 2.9%-3.0% |  | 0.8%-1.0% |  | 2.2%-3.0% |  | 0.4%-1.0% |  
    | Expected term (years) |  | 5.0 |  | 5.0 |  | 5.0 |  | 5.0 |  |