Net Income (Loss) per Share (Tables)
|6 Months Ended|
Jun. 30, 2019
|Earnings Per Share [Abstract]|
|Summary of Computation of Basic and Diluted Net Income (Loss) per Share||
The computation of basic net income (loss) per share is based on the weighted-average number of common stock outstanding during each period. The computation of diluted net income (loss) per share is based on the weighted-average number of shares outstanding during the period plus, when their effect is dilutive, incremental shares consisting of shares subject to stock options, restricted stock units, ESPP shares and warrants.
The following table summarizes the computation of basic and diluted net income (loss) per share (in thousands, except share and per share data):
Tabular disclosure of an entity's basic and diluted earnings per share calculations, including a reconciliation of numerators and denominators of the basic and diluted per-share computations for income from continuing operations.
Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef