XML 42 R25.htm IDEA: XBRL DOCUMENT v3.22.4
Net loss per share (Tables)
12 Months Ended
Dec. 31, 2022
Earnings Per Share [Abstract]  
Schedule of Net Income per Share, Basic and Diluted
The following table presents the calculations of basic and diluted net income (loss) per share:
Year ended December 31,
(in thousands, except per share data)202220212020
Numerator:
Net income (loss) - Basic$28,847 $371,171 $(66,783)
Interest on convertible notes, income tax effected3,055 — — 
Net income (loss) - Diluted$31,902 $371,171 $(66,783)
Denominator:
Weighted-average common shares - basic for Class A and Class B common stock156,181 154,274 149,037 
Effect of dilutive securities22,098 8,904 — 
Weighted-average common shares - diluted for Class A and Class B common stock178,279 163,178 149,037 
Net income (loss) per share
Basic$0.18 $2.41 $(0.45)
Diluted$0.18 $2.27 $(0.45)
Schedule of Antidilutive Securities Excluded from Computation of Net Income per Share
The following potentially dilutive shares were not included in the calculation of diluted shares outstanding as the effect would have been anti-dilutive:
Year ended December 31,
(in thousands)
202220212020
Stock-based awards7,495 1,792 15,856