Net Loss per Share of Common Stock (Details) (USD $)
In Thousands, except Share data, unless otherwise specified
12 Months Ended
Dec. 31, 2013
Dec. 31, 2012
Dec. 31, 2011
Earnings Per Share [Abstract]      
Net loss attributable to common stockholders $ (8,819) $ (756) $ (38,675)
Weighted-average number of shares used in computing net loss per share of common stock, basic and diluted 44,958,120 42,966,448 9,698,880
Net loss per share of common stock, basic and diluted, usd per share $ (0.20) $ (0.02) $ (3.99)
Redeemable convertible preferred stock
     
Antidilutive potential common shares excluded from computation of diluted net loss per share      
Antidilutive potential common shares 850,351 254,863 0
Stock options to purchase common stock
     
Antidilutive potential common shares excluded from computation of diluted net loss per share      
Antidilutive potential common shares 6,468,743 7,426,417 8,229,597
Common stock subject to repurchase
     
Antidilutive potential common shares excluded from computation of diluted net loss per share      
Antidilutive potential common shares 0 7,500 15,000
Common and preferred stock warrants
     
Antidilutive potential common shares excluded from computation of diluted net loss per share      
Antidilutive potential common shares 912,368 912,368 912,368