XML 98 R82.htm IDEA: XBRL DOCUMENT v3.22.0.1
Net Income (Loss) Per Share - Computations of Basic and Diluted Net Income (Loss) Per Share (Detail) - USD ($)
$ / shares in Units, shares in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Basic net income (loss) per share:      
Net income (loss) $ 127,840 $ (111,250) $ (94,733)
Shares used in computation:      
Weighted-average common shares outstanding 42,438 37,281 36,690
Basic net income (loss) per share $ 3.01 $ (2.98) $ (2.58)
Diluted net income (loss) per share:      
Net income (loss) $ 127,840 $ (111,250) $ (94,733)
Shares used in computation:      
Weighted-average common shares outstanding 42,438 37,281 36,690
Weighted-average diluted common shares 43,913 37,281 36,690
Diluted net income (loss) per share $ 2.91 $ (2.98) $ (2.58)
Stock Option [Member]      
Shares used in computation:      
Weighted-average diluted common shares 1,467    
Restricted Stock Units (RSUs)      
Shares used in computation:      
Weighted-average diluted common shares 2    
Employee Stock Purchase Plan [Member]      
Shares used in computation:      
Weighted-average diluted common shares 6