Common Stock and Stockholders' Equity - Options Outstanding and Exercisable (Details) (USD $) | 6 Months Ended | 12 Months Ended |
In Thousands, except Per Share data, unless otherwise specified | Jun. 30, 2014 | Dec. 31, 2013 |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items] | ' | ' |
Range of exercise prices - Lower limit (in US$ per share) | $0.18 | ' |
Range of exercise prices - Upper limit (in US$ per share | $18.40 | ' |
Outstanding at June 30, 2014 (shares) | 27,294 | 26,724 |
Options outstanding at June 30, 2014 - Weighted-average remaining contractual term | '7 years 7 months 6 days | '7 years 6 months 18 days |
Options outstanding at June 30, 2014 - Weighted average exercise price (in US$ per share) | $5.18 | $2.47 |
Options exercisable (shares) | 18,594 | 20,605 |
Options exercisable - Weighted average exercise price (in US$ per share) | $1.19 | $0.84 |
$ 0.18b0.66 | ' | ' |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items] | ' | ' |
Range of exercise prices - Lower limit (in US$ per share) | $0.18 | ' |
Range of exercise prices - Upper limit (in US$ per share | $0.66 | ' |
Outstanding at June 30, 2014 (shares) | 8,944 | ' |
Options outstanding at June 30, 2014 - Weighted-average remaining contractual term | '6 years 7 months 14 days | ' |
Options outstanding at June 30, 2014 - Weighted average exercise price (in US$ per share) | $0.62 | ' |
Options exercisable (shares) | 8,736 | ' |
Options exercisable - Weighted average exercise price (in US$ per share) | $0.62 | ' |
0.76b0.76 | ' | ' |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items] | ' | ' |
Range of exercise prices - Lower limit (in US$ per share) | $0.76 | ' |
Range of exercise prices - Upper limit (in US$ per share | $0.76 | ' |
Outstanding at June 30, 2014 (shares) | 8,752 | ' |
Options outstanding at June 30, 2014 - Weighted-average remaining contractual term | '6 years 11 months 19 days | ' |
Options outstanding at June 30, 2014 - Weighted average exercise price (in US$ per share) | $0.76 | ' |
Options exercisable (shares) | 8,133 | ' |
Options exercisable - Weighted average exercise price (in US$ per share) | $0.76 | ' |
1.52b2.96 | ' | ' |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items] | ' | ' |
Range of exercise prices - Lower limit (in US$ per share) | $1.52 | ' |
Range of exercise prices - Upper limit (in US$ per share | $2.96 | ' |
Outstanding at June 30, 2014 (shares) | 1,795 | ' |
Options outstanding at June 30, 2014 - Weighted-average remaining contractual term | '7 years 6 months 23 days | ' |
Options outstanding at June 30, 2014 - Weighted average exercise price (in US$ per share) | $1.91 | ' |
Options exercisable (shares) | 1,031 | ' |
Options exercisable - Weighted average exercise price (in US$ per share) | $1.86 | ' |
8.30b8.30 | ' | ' |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items] | ' | ' |
Range of exercise prices - Lower limit (in US$ per share) | $8.30 | ' |
Range of exercise prices - Upper limit (in US$ per share | $8.30 | ' |
Outstanding at June 30, 2014 (shares) | 513 | ' |
Options outstanding at June 30, 2014 - Weighted-average remaining contractual term | '8 years 3 months 18 days | ' |
Options outstanding at June 30, 2014 - Weighted average exercise price (in US$ per share) | $8.30 | ' |
Options exercisable (shares) | 218 | ' |
Options exercisable - Weighted average exercise price (in US$ per share) | $8.30 | ' |
13.72b13.72 | ' | ' |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items] | ' | ' |
Range of exercise prices - Lower limit (in US$ per share) | $13.72 | ' |
Range of exercise prices - Upper limit (in US$ per share | $13.72 | ' |
Outstanding at June 30, 2014 (shares) | 873 | ' |
Options outstanding at June 30, 2014 - Weighted-average remaining contractual term | '8 years 7 months 26 days | ' |
Options outstanding at June 30, 2014 - Weighted average exercise price (in US$ per share) | $13.72 | ' |
Options exercisable (shares) | 294 | ' |
Options exercisable - Weighted average exercise price (in US$ per share) | $13.72 | ' |
15.40b15.40 | ' | ' |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items] | ' | ' |
Range of exercise prices - Lower limit (in US$ per share) | $15.40 | ' |
Range of exercise prices - Upper limit (in US$ per share | $15.40 | ' |
Outstanding at June 30, 2014 (shares) | 584 | ' |
Options outstanding at June 30, 2014 - Weighted-average remaining contractual term | '8 years 11 months 9 days | ' |
Options outstanding at June 30, 2014 - Weighted average exercise price (in US$ per share) | $15.40 | ' |
Options exercisable (shares) | 171 | ' |
Options exercisable - Weighted average exercise price (in US$ per share) | $15.40 | ' |
15.59b15.59 | ' | ' |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items] | ' | ' |
Range of exercise prices - Lower limit (in US$ per share) | $15.59 | ' |
Range of exercise prices - Upper limit (in US$ per share | $15.59 | ' |
Outstanding at June 30, 2014 (shares) | 444 | ' |
Options outstanding at June 30, 2014 - Weighted-average remaining contractual term | '9 years 1 month 26 days | ' |
Options outstanding at June 30, 2014 - Weighted average exercise price (in US$ per share) | $15.59 | ' |
Options exercisable (shares) | 1 | ' |
Options exercisable - Weighted average exercise price (in US$ per share) | $15.59 | ' |
16.19b16.19 | ' | ' |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items] | ' | ' |
Range of exercise prices - Lower limit (in US$ per share) | $16.19 | ' |
Range of exercise prices - Upper limit (in US$ per share | $16.19 | ' |
Outstanding at June 30, 2014 (shares) | 797 | ' |
Options outstanding at June 30, 2014 - Weighted-average remaining contractual term | '9 years 4 months 21 days | ' |
Options outstanding at June 30, 2014 - Weighted average exercise price (in US$ per share) | $16.19 | ' |
Options exercisable (shares) | 0 | ' |
Options exercisable - Weighted average exercise price (in US$ per share) | $0 | ' |
16.22b16.22 | ' | ' |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items] | ' | ' |
Range of exercise prices - Lower limit (in US$ per share) | $16.22 | ' |
Range of exercise prices - Upper limit (in US$ per share | $16.22 | ' |
Outstanding at June 30, 2014 (shares) | 1,125 | ' |
Options outstanding at June 30, 2014 - Weighted-average remaining contractual term | '9 years 7 months 1 day | ' |
Options outstanding at June 30, 2014 - Weighted average exercise price (in US$ per share) | $16.22 | ' |
Options exercisable (shares) | 0 | ' |
Options exercisable - Weighted average exercise price (in US$ per share) | $0 | ' |
16.39b16.39 | ' | ' |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items] | ' | ' |
Range of exercise prices - Lower limit (in US$ per share) | $16.39 | ' |
Range of exercise prices - Upper limit (in US$ per share | $16.39 | ' |
Outstanding at June 30, 2014 (shares) | 651 | ' |
Options outstanding at June 30, 2014 - Weighted-average remaining contractual term | '9 years 9 months 10 days | ' |
Options outstanding at June 30, 2014 - Weighted average exercise price (in US$ per share) | $16.39 | ' |
Options exercisable (shares) | 10 | ' |
Options exercisable - Weighted average exercise price (in US$ per share) | $16.39 | ' |
18.40b18.40 | ' | ' |
Share-based Compensation, Shares Authorized under Stock Option Plans, Exercise Price Range [Line Items] | ' | ' |
Range of exercise prices - Lower limit (in US$ per share) | $18.40 | ' |
Range of exercise prices - Upper limit (in US$ per share | $18.40 | ' |
Outstanding at June 30, 2014 (shares) | 2,816 | ' |
Options outstanding at June 30, 2014 - Weighted-average remaining contractual term | '9 years 11 months 5 days | ' |
Options outstanding at June 30, 2014 - Weighted average exercise price (in US$ per share) | $18.40 | ' |
Options exercisable (shares) | 0 | ' |
Options exercisable - Weighted average exercise price (in US$ per share) | $0 | ' |