XML 59 R41.htm IDEA: XBRL DOCUMENT v3.22.0.1
Summary of Significant Accounting Policies - Summary of Antidilutive Securities (Details) - shares
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Convertible senior notes      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Common stock equivalents excluded from computation of diluted net income (loss) per share (in shares) 8,878,938 8,878,938 0
Outstanding common stock options      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Common stock equivalents excluded from computation of diluted net income (loss) per share (in shares) 4,808,286 5,716,744 4,734,616
Unvested restricted stock awards and performance stock awards      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Common stock equivalents excluded from computation of diluted net income (loss) per share (in shares) 3,410,636 3,546,303 1,808,518
Outstanding common stock warrants      
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]      
Common stock equivalents excluded from computation of diluted net income (loss) per share (in shares) 0 0 34,113