Quarterly report pursuant to Section 13 or 15(d)

Warrants - Series F warrant liability (Details)

v3.21.2
Warrants - Series F warrant liability (Details) - USD ($)
$ / shares in Units, $ in Thousands
1 Months Ended 3 Months Ended 6 Months Ended 12 Months Ended
Mar. 17, 2020
Dec. 19, 2019
Nov. 04, 2019
Oct. 31, 2020
Sep. 30, 2020
Jun. 30, 2020
Jun. 30, 2021
Dec. 31, 2020
Jun. 30, 2021
Jun. 30, 2020
Dec. 31, 2020
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, exercise price (in dollars per share) $ 9.72 $ 30.00 $ 30.00   $ 3.90 $ 4.50       $ 4.50  
Term of warrants   24 months 24 months                
Warrants exercised (in shares)               281,282 389,881   322,949
Cash received for warrant exercises                 $ 1,685 $ 0  
Series F Convertible Preferred Stock                      
Class of Warrant or Right [Line Items]                      
Adjustment to additional paid-in capital for discount on preferred stock       $ 14,600              
Series F Warrants                      
Class of Warrant or Right [Line Items]                      
Issued (in shares)       7,233,855              
Warrants, exercise price (in dollars per share)       $ 4.50              
Term of warrants       72 months              
Warrants exercised (in shares)             83,334        
Cash received for warrant exercises             $ 400