Quarterly report pursuant to Section 13 or 15(d)

Warrants - Warrants issued as compensation (Details)

v3.21.2
Warrants - Warrants issued as compensation (Details)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Nov. 30, 2020
USD ($)
$ / shares
shares
Jul. 20, 2020
USD ($)
director
$ / shares
shares
Jun. 24, 2020
director
$ / shares
shares
Mar. 17, 2020
$ / shares
shares
Dec. 19, 2019
$ / shares
shares
Nov. 04, 2019
$ / shares
shares
Sep. 17, 2019
$ / shares
shares
Sep. 30, 2020
$ / shares
shares
Jun. 30, 2020
$ / shares
shares
Jun. 30, 2021
USD ($)
Dec. 31, 2020
shares
Jun. 30, 2020
USD ($)
$ / shares
Jun. 30, 2021
USD ($)
$ / shares
shares
Jun. 30, 2020
USD ($)
$ / shares
Dec. 31, 2020
USD ($)
$ / shares
shares
Jun. 01, 2020
shares
Class of Warrant or Right [Line Items]                                
Issued (in shares)       167,206 156,250 1,834   95,043 331,771       548,111   8,321,412  
Warrants exercised (in dollars per share) | $ / shares                         $ 4.52   $ 3.48  
Warrants exercised (in shares)                     281,282   389,881   322,949  
Warrants, exercise price (in dollars per share) | $ / shares       $ 9.72 $ 30.00 $ 30.00   $ 3.90 $ 4.50     $ 4.50   $ 4.50    
Term of warrants         24 months 24 months                    
Share-based compensation | $                   $ 332   $ 3,020 $ 2,857 $ 5,504    
July 2020 Guarantor Warrants                                
Class of Warrant or Right [Line Items]                                
Issued (in shares)   50,000                            
Warrants, exercise price (in dollars per share) | $ / shares   $ 6.30                            
Term of warrants   84 months                            
Compensation Warrants                                
Class of Warrant or Right [Line Items]                                
Issued (in shares) 66,667 33,334 166,667                          
Shares issuable upon exercise of warrants (in shares)                               173,611
Warrants exercised (in shares)                         131,945      
Issuance of stock for exercise of warrants (in shares)                         122,782      
Warrants, exercise price (in dollars per share) | $ / shares $ 6.00 $ 6.30 $ 7.50                          
Number of individuals received warrants | director   2 2                          
Term of warrants 72 months 84 months 84 months                          
Share-based compensation | $   $ 1,000                            
General and administrative expense | Compensation Warrants                                
Class of Warrant or Right [Line Items]                                
Total cost of contract termination | $                             $ 5,700  
General and administrative expense for warrants issued for services | $ $ 100                              
Warrant Exercise Period One | Compensation Warrants                                
Class of Warrant or Right [Line Items]                                
Period from issuance date after which warrants become exercisable             12 months                  
Warrant Exercise Period One | Advisor | Exercise Price $0.10 | Compensation Warrants                                
Class of Warrant or Right [Line Items]                                
Issued (in shares)             416,667                  
Warrants exercised (in dollars per share) | $ / shares             $ 0.60                  
Warrants exercisable (in shares)             208,334                  
Warrant Exercise Period One | Advisor | Exercise Price $10.00 | Compensation Warrants                                
Class of Warrant or Right [Line Items]                                
Issued (in shares)             250,000                  
Warrants exercised (in dollars per share) | $ / shares             $ 60.00                  
Warrant Exercise Period Two | Compensation Warrants                                
Class of Warrant or Right [Line Items]                                
Period from issuance date after which warrants become exercisable             18 months                  
Warrant Exercise Period Two | Advisor | Exercise Price $0.10 | Compensation Warrants                                
Class of Warrant or Right [Line Items]                                
Warrants exercised (in dollars per share) | $ / shares             $ 0.60                  
Warrants exercisable (in shares)             208,334                  
Warrant Exercise Period Two | Advisor | Exercise Price $10.00 | Compensation Warrants                                
Class of Warrant or Right [Line Items]                                
Warrants exercised (in dollars per share) | $ / shares             $ 60.00                  
Warrants exercisable (in shares)             250,000