Annual report pursuant to Section 13 and 15(d)

Net loss per share (Details)

v3.21.1
Net loss per share (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2020
Dec. 31, 2019
Net Income (Loss) Attributable to Parent [Abstract]    
Net and comprehensive loss available to common stockholders $ (59,335) $ (184,462)
Less: Preferred stock dividends 103 109
Add: Adjustment due to gain on Series E Exchange (5,415) 0
Less: Adjustment due to BCF of Series F Shares 5,349 0
Net and comprehensive loss available to common stockholders $ (59,372) $ (184,571)
Weighted Average Number of Shares Outstanding, Diluted [Abstract]    
Weighted average shares used in computing net loss per share attributable to common stockholders, basic and diluted (in shares) 49,084,432 33,238,600
Net loss per share attributable to common stockholders, basic and diluted (in dollars per share) $ (1.21) $ (5.55)