v3.22.2.2
Basic and diluted loss per share (Details) - USD ($)
$ / shares in Units, $ in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Numerator:        
Net loss attributable to common stockholders - basic $ (60,010) $ (130,193) $ (92,424) $ (197,562)
Net loss attributable to common stockholders - diluted $ (60,010) $ (130,193) $ (92,424) $ (197,562)
Denominator:        
Weighted average common shares outstanding - Basic (in shares) 97,100,453 85,463,755 96,245,149 48,214,724
Weighted average shares outstanding - Diluted (in shares) 97,100,453 85,463,755 96,245,149 48,214,724
Net loss per share:        
Basis loss per share (in dollars per share) $ (0.62) $ (1.52) $ (0.96) $ (4.10)
Diluted loss per share (in dollars per share) $ (0.62) $ (1.52) $ (0.96) $ (4.10)
Anti-dilutive securities excluded from diluted loss per share:        
Antidilutive securities excluded from computation of earnings per share, amount (in shares) 4,195,258 1,428,227 2,699,024 1,428,227
Antidilutive securities excluded from computation of earnings per share, shares improperly included (in shares) 200,000      
Stock options to purchase common stock        
Anti-dilutive securities excluded from diluted loss per share:        
Antidilutive securities excluded from computation of earnings per share, amount (in shares) 1,534,949 254,965 849,061 254,965
Stock warrants        
Anti-dilutive securities excluded from diluted loss per share:        
Antidilutive securities excluded from computation of earnings per share, amount (in shares) 163,508 0 108,951 0
Unvested restricted stock awards        
Anti-dilutive securities excluded from diluted loss per share:        
Antidilutive securities excluded from computation of earnings per share, amount (in shares) 341,880 104,512 201,778 104,512
Unvested restricted stock units        
Anti-dilutive securities excluded from diluted loss per share:        
Antidilutive securities excluded from computation of earnings per share, amount (in shares) 2,154,921 1,068,750 1,539,234 1,068,750