XML 109 R97.htm IDEA: XBRL DOCUMENT v3.22.4
Net (Loss) Income Per Share - Computation of Basic and Diluted Net Income Per Share (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Numerator:      
Net (loss) income $ (291,754) $ (287,100) $ 132,244
Denominator:      
Weighted-average common shares outstanding - Basic 77,630,020 75,449,632 71,411,705
Weighted-average common shares outstanding - Diluted 77,630,020 75,449,632 83,491,898
Basic net (loss) income per share $ (3.76) $ (3.81) $ 1.85
Diluted net (loss) income per share $ (3.76) $ (3.81) $ 1.62
Numerator:      
Add interest expense on 2026 Convertible Notes, net of tax     $ 3,307
Numerator for diluted net (loss) income per share $ (291,754) $ (287,100) $ 135,551
Add effect of potential dilutive securities:      
Stock options, including shares subject to ESPP     3,455,646
Restricted stock units     167,597
Shares issuable upon conversion of convertible notes     8,456,950
Denominator for diluted net (loss) income per share 77,630,020 75,449,632 83,491,898