XML 85 R60.htm IDEA: XBRL DOCUMENT v3.22.0.1
Net Income (Loss) per Share - Schedule of Basic and Diluted Net Loss Per Share Attributable to Common Stockholders (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Numerator:      
Net income (loss) $ (78,485) $ 59,337 $ (54,789)
Denominator:      
Weighted average commons shares outstanding—basic (shares) 44,243,317 35,545,121 27,854,912
Net income (loss) per share - basic (in dollars per share) $ (1.77) $ 1.67 $ (1.97)
Numerator:      
Net income (loss) - basic $ (78,485) $ 59,337 $ (54,789)
Interest expense on convertible note payable 0 395 0
Net income (loss) - diluted $ (78,485) $ 59,732 $ (54,789)
Denominator:      
Weighted average commons shares outstanding—basic (shares) 44,243,317 35,545,121 27,854,912
Shares issuable upon conversion of convertible notes, as if converted (shares) 0 1,282,052 0
Dilutive effect of restricted stock units (shares) 0 557,402 0
Dilutive effect of common stock equivalents (shares) 0 757,218 0
Weighted average common shares outstanding—diluted (shares) 44,243,317 38,141,793 27,854,912
Net income (loss) per share - diluted (in dollars per share) $ (1.77) $ 1.57 $ (1.97)