XML 61 R36.htm IDEA: XBRL DOCUMENT v3.22.0.1
Net Income (Loss) per Share (Tables)
12 Months Ended
Dec. 31, 2021
Earnings Per Share [Abstract]  
Schedule of Basic and Diluted Net Loss Per Share Attributable to Common Stockholders
Basic and diluted net income (loss) per share attributable to common stockholders was calculated as follows:
 Year Ended December 31,
 202120202019
Basic net income (loss) per share:
Numerator:   
Net income (loss)$(78,485)$59,337 $(54,789)
Denominator:
Weighted average commons shares outstanding—basic44,243,317 35,545,121 27,854,912 
Net income (loss) per share—basic$(1.77)$1.67 $(1.97)
Diluted net income (loss) per share:
Numerator:
Net income (loss) - basic$(78,485)$59,337 $(54,789)
Interest expense on convertible note payable— 395 — 
Net income (loss) - diluted$(78,485)$59,732 $(54,789)
Denominator:
Weighted average commons shares outstanding—basic44,243,317 35,545,121 27,854,912 
Shares issuable upon conversion of convertible notes, as if converted— 1,282,052 — 
Dilutive effect of restricted stock units— 557,402 — 
Dilutive effect of common stock equivalents— 757,218 — 
Weighted average commons shares outstanding—diluted44,243,317 38,141,793 27,854,912 
Net income (loss) per share—diluted$(1.77)$1.57 $(1.97)
Schedule of Anti-dilutive Securities Excluded from Calculation of Diluted Net Loss per Share Attributable to Common Stockholders The Company excluded the following potential common shares, presented based on amounts outstanding at each period end, from the computation of diluted net loss per share attributable to common stockholders for the periods indicated above because including them would have had an anti-dilutive effect:
Year Ended December 31,
20212020
Stock Options to purchase common stock7,057,258 3,146,458 
Shares to be issued under the ESPP1,084,476 — 
RSUs issued and expected to vest— 2,400 
Shares available from conversion of note payable832,677 —