Quarterly report pursuant to Section 13 or 15(d)

Net loss per share (Details)

v3.20.2
Net loss per share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 6 Months Ended
Jun. 30, 2020
Mar. 31, 2020
Jun. 30, 2019
Jun. 30, 2020
Jun. 30, 2019
Numerator [Abstract]          
Net and comprehensive loss $ (18,404)   $ (161,506) $ (27,858) $ (164,286)
Less: Preferred stock dividends 34   27 68 27
Net and comprehensive loss available to common stockholders $ (18,438) $ (9,488) $ (161,533) $ (27,926) $ (164,313)
Denominator [Abstract]          
Weighted average shares used in computing net loss per share attributable to common stockholders, basic and diluted (in shares) 48,939,708   30,638,048 48,733,052 21,202,188
Net loss per share attributable to common stockholders, basic and diluted (in dollars per share) $ (0.38)   $ (5.27) $ (0.57) $ (7.75)