Net (Loss) Income Per Share Attributable to Common Stockholders | NOTE 6. NET (LOSS) INCOME PER SHARE ATTRIBUTABLE TO COMMON STOCKHOLDERS Basic net (loss) income per share attributable to common stockholders is calculated by dividing the net (loss) income by the weighted-average number of shares of common stock outstanding during the period, except as discussed in the following paragraph. Diluted net income per share attributable to common stockholders is calculated by dividing the net (loss) income by the weighted-average number of shares of common stock outstanding during the period, plus potentially dilutive common shares, consisting of stock options. The Company uses the treasury-stock method to compute diluted earnings per share with respect to its stock options and equivalents. For purposes of this calculation, options to purchase stock are considered to be potential common shares and are only included in the calculation of diluted net (loss) income per share when their effect is dilutive. Prior to the Company’s IPO of its common stock in June 2014, the Company’s Series A and Series B convertible preferred stock was entitled to receive dividends of up to $0.8181 and $0.2781 per share, respectively, prior and in preference to any declaration or payment of any dividend on common stock and thereafter participate pro rata on an as converted basis with the common stock holders on any distributions to common stockholders. The convertible preferred shares were therefore considered to be participating securities as were the unvested early exercised shares. As a result, the Company calculated the net income (loss) per share attributable to common stockholders using the two-class method. The convertible preferred stock and warrants were included in the calculation for the period of time they were outstanding during the nine months ended September 30, 2014. They were not reflected in the calculation of net income per share for the three months ended September 30, 2014 since they were converted in the second quarter. Accordingly, the net income (loss) attributable to common stockholders in 2014 is derived from the net income for the period and, in periods in which the Company has net income attributable to common stockholders, an adjustment is made for the noncumulative dividends and allocations of earnings to participating securities based on their outstanding shareholder rights. Under the two-class method, the net loss attributable to common stockholders is not allocated to the convertible preferred stock as the convertible preferred stock did not have a contractual obligation to share in the Company’s losses. Basic and diluted earnings per share attributable to common stockholders are calculated as follows (in thousands, except share and per share data): Three Months Ended Nine Months Ended 2015 2014 2015 2014 Numerator: Net (loss) income $ (18,126 ) $ 74 $ (12,621 ) $ 757 Noncumulative dividends on convertible preferred stock — — — $ (757 ) Net (loss) income attributable to common stockholders, basic and diluted $ (18,126 ) $ 74 $ (12,621 ) $ — Denominator: Basic shares: Weighted average common shares outstanding 25,930,928 18,374,277 21,859,383 7,476,642 Dilutive shares: Weighted average effect of dilutive stock options — 758,940 — — 25,930,928 19,133,217 21,859,383 7,476,642 Net income per share attributable to common stockholders: Basic $ (0.70 ) $ — $ (0.58 ) $ — Diluted $ (0.70 ) $ — $ (0.58 ) $ — For the three and nine months ended September 30, 2015, the total number of anti-dilutive outstanding common stock options and private placement warrants excluded from the diluted net loss per share attributable to common stockholders computation was 1.8 million and 1.4 million, respectively. For the three and nine months ended September 30, 2014, the total number of anti-dilutive outstanding common stock options excluded from the diluted net income per share attributable to common stockholders computation was 0.1 million and 1.1 million, respectively. |