Condensed Consolidated Statements of Operations (USD $)
In Thousands, except Share data, unless otherwise specified
12 Months Ended
Dec. 31, 2013
Dec. 31, 2012
Dec. 31, 2011
Revenue:      
Collaborative development program and services revenue $ 45,744 $ 47,468 $ 36,733
Product revenue 6,726 3,495 2,717
Licensing and royalty revenue 14,936 15,864 14,380
Total revenue 67,406 66,827 53,830
Cost of revenue:      
Cost of collaborative development program and services revenue 29,063 26,492 23,761
Cost of product revenue 3,175 1,635 953
Cost of licensing and royalty revenue 247 276 755
Total cost of revenue 32,485 28,403 25,469
Gross profit 34,921 38,424 28,361
Operating expenses:      
Research and development 24,502 21,839 19,260
Sales and marketing 6,475 5,433 4,285
General and administrative 11,973 10,868 8,534
Total operating expenses 42,950 38,140 32,079
(Loss) income from operations (8,029) 284 (3,718)
Other income (expense):      
Interest expense, net (830) (1,004) (87)
Other income (expense), net 57 15 (26,167)
Total other income (expense), net (773) (989) (26,254)
Loss before provision for income taxes (8,802) (705) (29,972)
Provision for income taxes 17 51 43
Net loss (8,819) (756) (30,015)
Temporary Equity, Accretion to Redemption Value 0 0 (8,660)
Net loss attributable to common stockholders (8,819) (756) (38,675)
Net loss per share of common stock, basic and diluted, usd per share $ (0.20) $ (0.02) $ (3.99)
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
Related Party Transactions
     
Revenue:      
Collaborative development program and services revenue 7,374 11,838 11,294
Product revenue 0 2,139 11
Licensing and royalty revenue 5,440 7,091 9,688
Total revenue 12,814 21,068 20,993
Cost of revenue:      
Cost of collaborative development program and services revenue 4 55 1,075
Cost of product revenue 0 0 119
Cost of licensing and royalty revenue 0 0 635
Total cost of revenue $ 4 $ 55 $ 1,829