Net Income (Loss) Per Share |
3 Months Ended | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Mar. 31, 2021 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Earnings Per Share [Abstract] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Net Income (Loss) Per Share |
14. NET INCOME (LOSS) PER SHARE The Company’s basic net income (loss) per share is calculated by dividing the net income (loss) by the weighted-average number of shares of common stock outstanding for the period. For purposes of the calculation of diluted net income (loss) per share, options to purchase common stock, restricted stock units and unvested shares of common stock issued upon the early exercise of stock options are considered common stock equivalents. Dilutive shares of common stock are determined by applying the treasury stock method. The dilutive shares are excluded from the calculation of diluted net loss per share in the period of net loss, as their effect is antidilutive. The following table presents the calculation of basic and diluted net income (loss) per share (in thousands, except per share data):
Common shares excluded from the calculation of diluted net income or excluded from the calculation of diluted net loss per share because of their anti-dilutive effect are as follows (in thousands):
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||