XML 107 R97.htm IDEA: XBRL DOCUMENT v3.22.2.2
NET (LOSS) INCOME PER SHARE - Schedule of potentially dilutive shares (Details) - shares
shares in Thousands
3 Months Ended 9 Months Ended
Sep. 30, 2022
Sep. 30, 2021
Sep. 30, 2022
Sep. 30, 2021
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Number of shares excluded in the computation of diluted earnings per share 46,991 6,590 46,915 6,590
Stock options        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Number of shares excluded in the computation of diluted earnings per share 33,411 6,134 33,411 6,134
RSUs        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Number of shares excluded in the computation of diluted earnings per share 6,854 107 6,854 107
Convertible notes        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Number of shares excluded in the computation of diluted earnings per share 3,880 0 3,880 0
Restricted common stock        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Number of shares excluded in the computation of diluted earnings per share 1,740 65 1,740 65
ESPP        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Number of shares excluded in the computation of diluted earnings per share 1,030 284 1,030 284
Contingent consideration        
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Number of shares excluded in the computation of diluted earnings per share 76 0 0 0