XML 41 R32.htm IDEA: XBRL DOCUMENT v3.22.2
Net Income (Loss) Per Share (Tables)
6 Months Ended
Jun. 30, 2022
Earnings Per Share [Abstract]  
Schedule of net income per share attributable to common stockholders
For periods in which the Company reports net losses, basic and diluted net loss per share are the same because potentially dilutive common shares are not assumed to have been issued if their effect is anti-dilutive.
Three Months Ended June 30,Six Months Ended June 30,
2021202220212022
Numerator:
Net income (loss)$37,284 $(29,871)$47,386 $2,821 
Denominator:
Weighted-average common shares outstanding used to calculate net income (loss) per share, basic76,674,129 83,833,963 75,160,037 84,031,109 
Weighted-average effect of dilutive securities18,127,994 — 18,033,116 10,477,951 
Weighted-average common shares outstanding used to calculate net income (loss) per share, diluted94,802,123 83,833,963 93,193,153 94,509,060 
Net income (loss) per share, basic$0.49 $(0.36)$0.63 $0.03 
Net income (loss) per share, diluted$0.39 $(0.36)$0.51 $0.03 
Schedule of antidilutive securities excluded from computation of earnings per share
The following securities were excluded from the computation of diluted net income (loss) per share for the periods presented, because including them would have been anti-dilutive. These amounts represent the number of instruments outstanding at the end of each respective period:

Three Months Ended June 30,Six Months Ended June 30,
2021202220212022
Options to purchase common stock451,493 11,138,435 500,065 770,852 
Unvested RSUs262,914 2,497,064 1,117,330 2,061,568 
Unvested PRSUs— 687,500 687,500 
Purchase rights committed under the ESPP— 216,088 — — 
Convertible debt— 2,318,078 — 2,318,078 
Total714,407 16,857,165 1,617,395 5,837,998