Warrant Liabilities (Tables)  | 
9 Months Ended | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Sep. 30, 2020  | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Warrant Liabilities | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of fair value of warrant liabilities by Level 3 inputs | 
 The following table provides a roll forward of the fair value of our warrant liabilities, the fair value of which was determined by Level 3 inputs for the nine months ended September 30, 2020 (in thousands): 
 
 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Schedule of weighted-average key assumptions used to calculate the fair value of the warrants | 
 The warrant liability associated with the January 2020 Warrants was classified within Level 3 of the fair value hierarchy. The following table presents the weighted-average key assumptions used to calculate the fair value of the January 2020 Warrants: 
 
 
 The warrant liability associated with the August 2019 Warrants was classified within Level 3 of the fair value hierarchy. The following table presents the weighted-average key assumptions used to calculate the fair value of the August 2019 Warrants: 
 
 
  | 
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||