7Baggers

Cytokinetics, Incorporated
(NASDAQ:CYTK) 

CYTK stock logo

Cytokinetics, Incorporated, a late-stage biopharmaceutical company, focuses on discovering, developing, and commercializing muscle activators and inhibitors as potential treatments for debilitating diseases. The company is developing small molecule drug candidates primarily engineered to increase mu...

Founded: 1997
Full Time Employees: 156
Sector: Healthcare
Industry: Biotechnology

Share this website to your friends
• Market Cap:
• Exchange:
• Shs Outstanding:
• Employees:
• Beta:
• Return on Equity (ROE) ttm:
• Return on Assets (ROA) ttm:
• EPS ttm:
• Book value per Share:
• Cash per Share:
• Current ast per Share:
• P/E ttm:
• P/E forward:
• P/E ttm high:
• P/E ttm low:
• P/S ttm:
• P/B ttm:
• P/FCF ttm:
• PEG ratio:
• Cash Ratio ttm:
• Quick Ratio ttm:
• Current Ratio ttm:
• Gross Mgn ttm:
• EBITDA Mgn ttm:
• Operating Mgn ttm:
• Net Income Mgn ttm:
• Trailing Div yield:
• Forward Div yield:
• Payout Ratio ttm:
• Ex-Dividend date:
• Target Price High:
• Target Price Low:
• Target Price Mean:
• Number of Analysts:
• Debt Ratio ttm:
• Debt to Equity ttm:
• Total Net Debt:
At a glance:
Bull Thesis:
Bear Thesis:
Main Competitors:
Moat:
Income Statements:
Quarterly
Annual
    Unit: USD2025-12-31 2025-09-30 2025-06-30 2025-03-31 2024-12-31 2024-09-30 2024-06-30 2024-03-31 2023-12-31 2023-09-30 2023-06-30 2023-03-31 2022-12-31 2022-09-30 2022-06-30 2022-03-31 2021-12-31 2021-09-30 2021-06-30 2021-03-31 2020-12-31 2020-09-30 2020-06-30 2020-03-31 2019-12-31 2019-09-30 2019-06-30 2019-03-31 2018-12-31 2018-09-30 2018-06-30 2018-03-31 2017-12-31 2017-09-30 2017-06-30 2017-03-31 2016-12-31 2016-09-30 2016-06-30 2016-03-31 2015-12-31 2015-09-30 2015-06-30 2015-03-31 2014-12-31 2014-09-30 2014-06-30 2014-03-31 2013-12-31 2013-09-30 2013-06-30 2013-03-31 2012-12-31 2012-09-30 2012-06-30 2012-03-31 2011-09-30 2011-08-05 2010-08-05 2009-08-05 2008-08-05 2008-03-31 2007-12-31 2007-09-30 2007-08-05 2007-06-30 2007-03-31 2006-12-31 2006-09-30 2006-08-05 2006-06-30 2006-03-31 2005-12-31 2005-09-30 2005-08-05 2005-06-30 2005-03-31 2004-12-31 2004-09-30 2004-08-05 2004-06-30 2004-03-31 
                                                                                      
      revenues:
                                                                                      
      collaboration revenues
    2,755,000 1,936,000 2,416,000 1,579,000                                                                               
      license and milestone revenues
    15,000,000  64,353,000                                                                                
      total revenues
    17,755,000 1,936,000 66,769,000  16,927,000 463,000 249,000 835,000 1,672,000 378,000 867,000 4,613,000 1,957,000 2,515,000 88,968,000 1,148,000 55,600,000 5,437,000 2,843,000 6,548,000 6,722,000 41,688,000 3,593,000 3,825,000 5,212,000 6,055,000 7,137,000 8,464,000 9,377,000 10,641,000 6,215,000 5,268,000 -18,000 6,180,000 3,053,000 4,153,000 33,138,000 59,047,000 5,802,000 8,421,000 9,757,000 7,945,000 6,542,000 4,414,000 21,758,000 9,415,000 7,788,000 7,979,000 24,349,000 4,469,000 1,009,000 821,000 172,260,000 1,714,000 1,841,000 1,820,000 1,427,000     3,069,000 3,110,000 4,130,000  3,177,000 3,205,000 155,000 106,000  1,446,000 1,420,000 2,144,000 1,855,000  2,341,000 2,572,000 2,804,000 2,449,000  2,900,000 5,867,000 
      yoy
    4.89% 318.14% 26714.86%  912.38% 22.49% -71.28% -81.90% -14.56% -84.97% -99.03% 301.83% -96.48% -53.74% 3029.37% -82.47% 727.13% -86.96% -20.87% 71.19% 28.97% 588.49% -49.66% -54.81% -44.42% -43.10% 14.84% 60.67% -52194.44% 72.18% 103.57% 26.85% -100.05% -89.53% -47.38% -50.68% 239.63% 643.20% -11.31% 90.78% -55.16% -15.61% -16.00% -44.68% -10.64% 110.67% 671.85% 871.86% -85.86% 160.74% -45.19% -54.89% 11971.48%         -3.40% -2.96% 2564.52%   121.65% -89.08% -95.06%   -39.34% -16.64% -33.84%   -11.31% -52.21%     
      qoq
    817.10% -97.10%   3555.94% 85.94% -70.18% -50.06% 342.33% -56.40% -81.21% 135.72% -22.19% -97.17% 7649.83% -97.94% 922.62% 91.24% -56.58% -2.59% -83.88% 1060.26% -6.07% -26.61% -13.92% -15.16% -15.68% -9.74% -11.88% 71.21% 17.98% -29366.67% -100.29% 102.42% -26.49% -87.47% -43.88% 917.70% -31.10% -13.69% 22.81% 21.45% 48.21% -79.71% 131.10% 20.89% -2.39% -67.23% 444.84% 342.91% 22.90% -99.52% 9950.18% -6.90% 1.15% 27.54%      -1.32% -24.70%   -0.87% 1967.74% 46.23%   1.83% -33.77% 15.58%   -8.98% -8.27% 14.50%   -50.57%  
      operating expenses:
                                                                                      
      research and development
    104,398,000 99,233,000 112,554,000 99,841,000 93,629,000 84,612,000 79,597,000 81,570,000 84,976,000 82,532,000 83,194,000 79,421,000 75,018,000 62,734,000 57,126,000 45,935,000 43,498,000 48,436,000 36,443,000 31,561,000 29,221,000 24,202,000 21,790,000 21,738,000 18,334,000 20,229,000 24,017,000 23,545,000 23,277,000 21,391,000 21,582,000 22,135,000 26,251,000 24,947,000 19,809,000 19,289,000 17,301,000 19,340,000 9,723,000 13,534,000 13,249,000 11,557,000 12,636,000 8,956,000 8,779,000 11,420,000 11,737,000 12,490,000 13,824,000 13,445,000 12,347,000 9,834,000 462,330,000 8,798,000 8,242,000 8,745,000 8,891,000     14,102,000 13,958,000 13,217,000  13,726,000 12,486,000 13,026,000 12,535,000  12,397,000 11,266,000 10,735,000 9,259,000  10,039,000 10,537,000 11,241,000 9,535,000  9,749,000 9,360,000 
      general and administrative
    91,723,000 69,458,000 65,721,000 57,369,000 62,338,000 56,652,000 50,824,000 45,500,000 44,114,000 40,111,000 39,722,000 49,665,000 53,969,000 48,222,000 42,716,000 33,070,000 33,806,000 26,202,000 21,197,000 15,598,000 13,908,000 12,302,000 14,161,000 12,449,000 10,584,000 9,753,000 9,836,000 9,437,000 7,558,000 7,164,000 8,046,000 9,264,000 10,258,000 9,657,000 8,438,000 8,115,000 6,674,000 7,217,000 7,090,000 6,841,000 5,529,000 5,276,000 4,495,000 4,367,000 4,558,000 3,993,000 4,458,000 4,259,000 4,093,000 3,635,000 3,730,000 3,634,000 147,767,000 2,991,000 2,568,000 3,056,000 3,204,000     4,157,000 4,110,000 4,113,000  4,015,000 4,483,000 4,109,000 3,572,000  3,938,000 3,622,000 3,105,000 3,325,000  3,403,000 3,143,000 3,275,000 3,569,000  2,672,000 2,475,000 
      total operating expenses
    196,121,000 168,691,000 178,275,000 157,210,000 155,967,000 141,264,000 130,421,000 127,070,000 129,090,000 122,643,000 122,916,000 129,086,000 128,987,000 110,956,000 99,842,000 79,005,000 77,304,000 74,638,000 57,640,000 47,159,000 43,129,000 36,504,000 35,951,000 34,187,000 28,918,000 29,982,000 33,853,000 32,982,000 30,835,000 28,555,000 29,628,000 31,399,000 36,509,000 34,604,000 28,247,000 27,404,000 23,975,000 26,557,000 16,813,000 20,375,000 18,778,000 16,833,000 17,131,000 13,323,000 13,337,000 15,413,000 16,195,000 16,749,000 17,917,000 17,080,000 16,077,000 13,468,000 613,739,000 11,787,000 10,797,000 11,760,000 12,095,000     18,259,000 18,068,000 17,330,000  17,741,000 16,969,000 17,135,000 16,107,000  16,335,000 14,888,000 13,840,000 12,584,000  13,442,000 13,680,000 9,340,000 13,104,000  12,421,000 11,835,000 
      operating income
    -178,366,000 -166,755,000 -111,506,000 -155,631,000 -139,040,000 -140,801,000 -130,172,000 -126,235,000 -127,418,000 -122,265,000 -122,049,000 -124,473,000 -127,030,000 -108,441,000 -10,874,000 -77,857,000 -21,704,000 -69,201,000 -54,797,000 -40,611,000 -36,407,000 5,184,000 -32,358,000 -30,362,000 -23,706,000 -23,927,000 -26,716,000 -24,518,000 -21,458,000 -17,914,000 -23,413,000 -26,131,000 -36,527,000 -28,424,000 -25,194,000 -23,251,000 9,163,000 32,490,000 -11,011,000 -11,954,000 -9,021,000 -8,888,000 -10,589,000 -8,909,000 8,421,000 -5,998,000 -8,407,000 -8,770,000 6,432,000 -12,611,000 -15,068,000 -12,647,000 -441,479,000 -10,073,000 -8,956,000 -9,940,000 -10,668,000     -15,190,000 -14,958,000 -13,200,000  -14,564,000 -13,764,000 -16,980,000 -16,001,000  -14,889,000 -13,468,000 -11,696,000 -10,729,000  -11,101,000 -11,108,000 -12,290,000 -10,655,000  -9,521,000 -5,968,000 
      yoy
    28.28% 18.43% -14.34% 23.29% 9.12% 15.16% 6.66% 1.42% 0.31% 12.75% 1022.39% 59.87% 485.28% 56.70% -80.16% 91.71% -40.39% -1434.90% 69.35% 33.76% 53.58% -121.67% 21.12% 23.84% 10.48% 33.57% 14.11% -6.17% -41.25% -36.98% -7.07% 12.39% -498.64% -187.49% 128.81% 94.50% -201.57% -465.55% 3.99% 34.18% -207.13% 48.18% 25.95% 1.58% 30.92% -52.44% -44.21% -30.66% -101.46% 25.20% 68.24% 27.23% 4038.35%         4.30% 8.67% -22.26%   -7.56% 26.08% 36.81%   21.32% 5.29% -12.70%   16.67% 105.93%     
      qoq
    6.96% 49.55% -28.35% 11.93% -1.25% 8.17% 3.12% -0.93% 4.21% 0.18% -1.95% -2.01% 17.14% 897.25% -86.03% 258.72% -68.64% 26.29% 34.93% 11.55% -802.30% -116.02% 6.57% 28.08% -0.92% -10.44% 8.96% 14.26% 19.78% -23.49% -10.40% -28.46% 28.51% 12.82% 8.36% -353.75% -71.80% -395.07% -7.89% 32.51% 1.50% -16.06% 18.86% -205.80% -240.40% -28.65% -4.14% -236.35% -151.00% -16.31% 19.14% -97.14% 4282.80% 12.47% -9.90% -6.82%      1.55% 13.32%   5.81% -18.94% 6.12%   10.55% 15.15% 9.01%   -0.06% -9.62% 15.34%   59.53%  
      operating margin %
    -1004.60% -8613.38% -167.00% -Infinity% -821.41% -30410.58% -52277.91% -15117.96% -7620.69% -32345.24% -14077.16% -2698.31% -6491.06% -4311.77% -12.22% -6781.97% -39.04% -1272.78% -1927.44% -620.20% -541.61% 12.44% -900.58% -793.78% -454.83% -395.16% -374.33% -289.67% -228.84% -168.35% -376.72% -496.03% 202927.78% -459.94% -825.22% -559.86% 27.65% 55.02% -189.78% -141.95% -92.46% -111.87% -161.86% -201.84% 38.70% -63.71% -107.95% -109.91% 26.42% -282.19% -1493.36% -1540.44% -256.29% -587.69% -486.47% -546.15% -747.58%    NaN% -494.95% -480.96% -319.61% NaN% -458.42% -429.45% -10954.84% -15095.28% NaN% -1029.67% -948.45% -545.52% -578.38% NaN% -474.20% -431.88% -438.30% -435.08% NaN% -328.31% -101.72% 
      interest expense
    -14,274,000 -11,353,000 -11,084,000  -8,938,000 -8,928,000 -12,732,000 -7,103,000 -7,164,000 -7,136,000 -7,045,000 -6,961,000 -7,057,000 -6,804,000 -2,807,000 -2,746,000 -4,218,000 -4,161,000 -4,073,000 -3,988,000 -4,018,000 -3,976,000 -3,892,000 -4,077,000 -2,731,000 -1,345,000 -1,377,000 -1,170,000 -1,169,000 -867,000 -898,000 -863,000 -670,000 -806,000 -782,000 -3,052,000 -713,000 -714,000                                             
      non-cash interest expense on liabilities related to revenue participation right purchase agreements
    -16,061,000 -14,969,000 -13,181,000 -14,078,000 -13,656,000 -13,370,000 -11,567,000 -10,218,000 -9,900,000 -6,860,000 -6,322,000 -6,280,000 -9,212,000 -8,963,000 -7,003,000 -6,564,000                                                                   
      interest and other income
    11,470,000 10,248,000 13,001,000 13,701,000 15,014,000 17,054,000 11,553,000 7,913,000 7,586,000 6,839,000 6,779,000 6,425,000 5,919,000 4,144,000 864,000 415,000 -377,000 231,000 187,000 290,000 2,146,000 1,078,000 1,382,000 723,000 1,330,000 1,020,000   900,000 1,323,000 1,126,000 842,000 774,000 779,000 612,000 436,000 182,000 111,000 -600,000 -501,000                      1,440,000 1,874,000 2,055,000  2,122,000 2,241,000 1,174,000 1,215,000  1,228,000 1,128,000 760,000 756,000  688,000 712,000 -498,000 983,000  780,000 519,000 
      change in fair value of derivative liabilities
    900,000 700,000 3,000,000 -400,000 1,200,000 700,000 -600,000                                                                            
      change in fair value of liabilities related to rpi transactions
    13,300,000 -2,800,000 -14,600,000 3,900,000 -4,600,000 -15,200,000 200,000                                                                            
      debt conversion expense
     -121,249,000                                                                                 
      net income
    -183,031,000 -306,178,000 -134,370,000 -161,376,000 -150,020,000 -160,545,000 -143,318,000 -135,643,000 -136,896,000 -129,422,000 -128,637,000 -131,289,000 -137,380,000 -142,310,000 -19,820,000 -89,445,000 -30,570,000 -76,086,000 -61,554,000 -47,104,000 -43,930,000 -3,175,000 -40,780,000 -39,405,000 -30,640,000 -29,573,000 -32,113,000 -29,366,000 -26,468,000 -22,017,000 -27,523,000 -30,281,000 -40,485,000 -32,357,000 -29,081,000 -25,867,000 8,632,000 31,887,000 -11,611,000 -12,455,000 -9,229,000 -8,849,000 -10,551,000 -8,872,000 8,443,000 -5,971,000 -8,374,000 -8,744,000 6,531,000 -12,588,000 -15,041,000 -12,619,000 -419,966,000 -10,044,000 -8,943,000 -9,928,000 -10,639,000     -13,895,000 -13,252,000 -11,321,000  -12,628,000 -11,692,000 -15,946,000 -14,920,000  -13,786,000 -12,464,000 -11,081,000 -10,101,000  -10,540,000 -10,530,000 -11,820,000 -10,216,000  -9,231,000 -5,932,000 
      yoy
    22.00% 90.71% -6.24% 18.97% 9.59% 24.05% 11.41% 3.32% -0.35% -9.06% 549.03% 46.78% 349.39% 87.04% -67.80% 89.89% -30.41% 2296.41% 50.94% 19.54% 43.37% -89.26% 26.99% 34.19% 15.76% 34.32% 16.68% -3.02% -34.62% -31.96% -5.36% 17.06% -569.01% -201.47% 150.46% 107.68% -193.53% -460.35% 10.05% 40.39% -209.31% 48.20% 26.00% 1.46% 29.28% -52.57% -44.33% -30.71% -101.56% 25.33% 68.19% 27.11% 3847.42%         10.03% 13.34% -29.00%   -15.19% 27.94% 34.64%   18.25% 5.23% -14.54%   14.07% 99.26%     
      qoq
    -40.22% 127.86% -16.73% 7.57% -6.56% 12.02% 5.66% -0.92% 5.77% 0.61% -2.02% -4.43% -3.46% 618.01% -77.84% 192.59% -59.82% 23.61% 30.68% 7.23% 1283.62% -92.21% 3.49% 28.61% 3.61% -7.91% 9.35% 10.95% 20.22% -20.01% -9.11% -25.20% 25.12% 11.27% 12.43% -399.66% -72.93% -374.63% -6.78% 34.96% 4.29% -16.13% 18.92% -205.08% -241.40% -28.70% -4.23% -233.88% -151.88% -16.31% 19.19% -97.00% 4081.26% 12.31% -9.92% -6.68%      4.85% 17.06%   8.01% -26.68% 6.88%   10.61% 12.48% 9.70%   0.09% -10.91% 15.70%   55.61%  
      net income margin %
    -1030.87% -15814.98% -201.25% -Infinity% -886.28% -34674.95% -57557.43% -16244.67% -8187.56% -34238.62% -14837.02% -2846.07% -7019.93% -5658.45% -22.28% -7791.38% -54.98% -1399.41% -2165.11% -719.36% -653.53% -7.62% -1134.98% -1030.20% -587.87% -488.41% -449.95% -346.95% -282.27% -206.91% -442.85% -574.81% 224916.67% -523.58% -952.54% -622.85% 26.05% 54.00% -200.12% -147.90% -94.59% -111.38% -161.28% -201.00% 38.80% -63.42% -107.52% -109.59% 26.82% -281.67% -1490.68% -1537.03% -243.80% -586.00% -485.77% -545.49% -745.55%    NaN% -452.75% -426.11% -274.12% NaN% -397.48% -364.80% -10287.74% -14075.47% NaN% -953.39% -877.75% -516.84% -544.53% NaN% -450.23% -409.41% -421.54% -417.15% NaN% -318.31% -101.11% 
      net income per share
    -1.5 -2.55 -1.12 -1.36 -1.26 -1.36 -1.31 -1.33 -1.38 -1.35 -1.34 -1.38 -1.48 -1.52 -0.23 -1.05 -0.32 -0.95 -0.86 -0.66 -0.63 -0.05 -0.68 -0.66 -0.51 -0.5 -0.56 -0.54 -0.368 -0.4 -0.51 -0.56 -0.77 -0.6 -0.6 -0.62 0.21 0.8 -0.29 -0.31 -0.24 -0.23 -0.27 -0.23 0.24 -0.16 -0.23 -0.27 0.28 -0.43 -0.58 -0.09 -0.078 -0.07 -0.13 -0.13 -0.15                          
      weighted-average number of shares used in computing net loss per share — basic and diluted
    120,103 119,982 119,457 118,496 111,979 117,685 109,240 101,924 96,524 96,071 95,755 95,164 89,825 93,758 85,731 84,996 76,886 80,329 71,754 71,195 64,524 68,279 59,605 59,270 57,575    54,420      48,218 41,578   39,666 39,592 38,814 38,752 38,725 38,675  36,609                                     
      other comprehensive gain:
                                                                                      
      unrealized gain on available-for-sale securities
    235 167   -3,327 6,535 -499 -556 884 584 187 1,945     -804 -43 -72 -99 69.75 -379 -276 934 54.75 -42 155 106 26 -39 146 72.25 512 -78 -145                                               
      foreign currency translation adjustments
    361 25 -852 -312 338 -126 16 27                                                                           
      comprehensive loss
    -182,435 -305,986 -136,073 -162,229 -153,009 -154,136 -143,801 -136,172 -136,032 -128,838 -128,450 -129,344 -135,411 -143,375 -20,725 -92,165 -31,374 -76,129 -61,626 -47,203 -44,739 -3,554 -41,056 -38,471 -30,680 -29,615 -31,958 -29,260 -26,415 -22,014 -27,562 -30,135   -29,159 -26,012   -11,538 -12,448 -9,095 -8,847 -10,533 -8,873 8,415 -5,960 -8,374 -8,738 6,519 -12,569 -15,051 -12,627 -419,958 -10,030 -8,942 -9,933                           
      unrealized loss on available-for-sale securities
      -851 -541         1,969 -1,065 -905 -2,720                                                                   
      interest and other expense
       -8,868,000                                                          -145,000 -168,000 -176,000  -186,000 -169,000 -140,000 -134,000  -125,000 -124,000 -145,000 -128,000  -127,000 -134,000 968,000 -544,000  -490,000 -483,000 
      research and development revenues
        386,750 463,000 249,000 835,000 672,000 378,000 867,000 2,113,000 1,957,000 2,515,000 968,000 1,148,000 744,000 437,000 2,843,000 6,548,000 3,922,000 5,187,000 3,593,000 3,825,000 5,212,000 6,055,000 7,137,000 8,464,000                                                       
      milestone revenues
            1,000,000   2,500,000   1,000,000   5,000,000                                                                 
      realization of revenue participation right purchase agreement
                  87,000,000                                                                    
      loss on extinguishment of debt
                   -2,693,000                                                                   
      other comprehensive income:
                                                                                      
      other comprehensive loss:
                                                                                      
      loss on settlement of debt
                 -22,246,000                                                                     
      license revenues
                         36,501,000        1,915,000 1,535,000 1,683,000 2,093,000 318,000 4,942,000          2,271,000 2,734,000 2,749,000 2,082,000 2,442,000 1,410,000                                 
      non-cash interest expense on liability related to the sale of future royalties
                    -2,155,250 -2,955,000 -2,871,000 -2,795,000 -4,265,500 -5,461,000 -5,912,000 -5,689,000 -3,801,000 -5,321,000 -5,064,000 -4,819,000                                                       
      weighted-average shares in net loss per share — basic and diluted
                             58,640 57,648 54,821  54,626 54,293                                                    
      interest income
                              1,044,000 1,141,000                                                       
      research and development, milestone, grant and other revenues
                                4,247,750 8,726,000 4,680,000                                                    
      non-cash interest expense on liability related to sale of future royalties
                                -4,741,000 -4,559,000 -4,338,000 -4,129,000 -4,062,000 -3,906,000 -3,717,000                                                
      research and development, grant and other revenues
                                   3,585,000 -2,111,000 5,862,000 -1,889,000 341,000 312,000 441,000 337,000 151,000 48,000 27,000   3,377,000 4,761,000 4,196,000 5,232,000 4,113,000 2,495,000 446,000 493,000 7,231,000 751,000 746,000 644,000 433,000              2,000 2,000 225,000 300,000  308,000 300,000      
      weighted-average shares used for eps calculation
                                   54,062                                         28,582,000     19,756,000     
      net income before income taxes
                                    -21,826,250 -32,357,000   1,955,250 31,887,000                                             
      income tax benefit
                                                                                      
      weighted-average number of shares used in computing net income per share — basic
                                    49,404 53,719   39,943 39,926                                             
      weighted-average number of shares used in computing net income per share — diluted
                                    49,404 53,719   42,561 43,217                                             
      comprehensive income
                                    -40,568 -31,845   8,517 31,910                                             
      research and development revenues from related parties
                                       2,366,000 29,611,000 5,573,000 3,515,000 4,296,000 4,578,000 3,786,000 3,510,000 2,791,000 16,110,000 1,920,000 843,000 665,000 564,000 564,000 563,000 328,000 52,094,000 963,000 1,095,000 1,176,000 994,000                          
      license revenues from related parties
                                       1,446,000 3,215,000 53,033,000 1,950,000 3,974,000 5,131,000 4,132,000 3,032,000 1,623,000                  3,058,000 3,059,000 3,058,000  3,058,000 3,058,000                
      net loss before income taxes
                                       -25,867,000                                               
      unrealized gains on available-for-sale securities
                                        -115 23 73 134 18 -1 -28 11                                    
      income before income taxes
                                          -11,611,000 -12,455,000 -9,229,000 -8,849,000 -10,551,000 -8,872,000 8,443,000 -5,971,000 -8,374,000 -8,744,000 6,531,000 -12,588,000 -15,041,000 -12,619,000 -419,992,000 -10,044,000 -8,943,000 -9,928,000 -10,639,000                          
      interest and other
                                            28,500 39,000 38,000 37,000 22,000 27,000 33,000 26,000 99,000 23,000 27,000 28,000 21,487,000 29,000 13,000 12,000 29,000                          
      weighted-average number of shares used in computing net income per share — basic and diluted
                                                  36,443 32,985                                   
      restructuring charges
                                                        3,642,000 -2,000 -13,000 -41,000                           
      deemed dividend related to beneficial conversion feature of convertible preferred stock
                                                        -2,857,000  -1,307,000                            
      net income allocable to common stockholders
                                                    6,531,000 -12,588,000 -15,041,000 -12,619,000 -422,823,000 -10,044,000 -10,250,000 -9,928,000 -10,639,000                          
      weighted-average number of shares used in computing net income per share allocable to common stockholders — basic and diluted
                                                    27,275 29,395 25,773 144,061  134,162 81,230  72,280                          
      weighted-average number of shares used in computing net income per common share — basic and diluted
                                                           76,082                           
      research and development revenues from related party
                                                                 11,000 51,000 1,072,000  119,000 147,000 54,000 106,000  744,000 718,000 1,219,000 855,000  1,333,000 1,572,000 1,227,000 1,449,000  1,895,000 5,067,000 
      net loss per common share — basic and diluted
                                                                 -280 -270 -240  -270 -250 -410 -410  -380 -360 -390 -350  -370 -370      
      weighted-average number of shares used in computing net loss per common share — basic and diluted
                                                                 49,294,000 47,590,000 47,460,000  46,890,000 46,761,000 36,618,000 36,729,000  36,376,000 34,247,000  28,589,000  28,514,000 28,382,000      
      includes the following stock-based compensation charges:
                                                                                      
      license revenues from related party
                                                                       350,000   700,000 700,000 700,000 700,000  700,000 700,000 700,000 700,000  700,000 700,000 
      includes the following stock-based compensation charges: - sum
                                                                           938,000 272,750 343,000  345,000 402,000    515 389 
      research and development and grant revenues
                                                                                 251,250 300,000  305,000 100,000 
      net income per share
    -1.5 -2.55 -1.12 -1.36 -1.26 -1.36 -1.31 -1.33 -1.38 -1.35 -1.34 -1.38 -1.48 -1.52 -0.23 -1.05 -0.32 -0.95 -0.86 -0.66 -0.63 -0.05 -0.68 -0.66 -0.51 -0.5 -0.56 -0.54 -0.368 -0.4 -0.51 -0.56 -0.77 -0.6 -0.6 -0.62 0.21 0.8 -0.29 -0.31 -0.24 -0.23 -0.27 -0.23 0.24 -0.16 -0.23 -0.27 0.28 -0.43 -0.58 -0.09 -0.078 -0.07 -0.13 -0.13 -0.15                          
      basic and diluted
                                                                                 -0.375 -0.36  -0.46 -2.56 
      weighted-average number of shares used in per share calculations:
                                                                                      
      basic and diluted
                                                                                  28,154,119    
      includes the following stock based compensation charges:
                                                                                      
      includes the following stock based compensation charges: - sum
                                                                                 364.25 553    
      weighted- average number of shares used in per share calculations:
                                                                                      
      basic and diluted
                                                                                    19,905 2,313 
    Balance Sheets:
    Quarterly
    Annual
      Unit: USD2025-12-31 2025-09-30 2025-06-30 2025-03-31 2024-12-31 2024-09-30 2024-06-30 2024-03-31 2023-12-31 2023-09-30 2023-06-30 2023-03-31 2022-12-31 2022-09-30 2022-06-30 2022-03-31 2021-12-31 2021-09-30 2021-06-30 2021-03-31 2020-12-31 2020-09-30 2020-06-30 2020-03-31 2019-12-31 2019-09-30 2019-06-30 2019-03-31 2018-12-31 2018-09-30 2018-06-30 2018-03-31 2017-12-31 2017-09-30 2017-06-30 2017-03-31 2016-12-31 2016-09-30 2016-06-30 2016-03-31 2015-12-31 2015-09-30 2015-06-30 2015-03-31 2014-12-31 2014-09-30 2014-06-30 2014-03-31 2013-12-31 2013-09-30 2013-06-30 2013-03-31 2012-12-31 2012-09-30 2012-06-30 2012-03-31 2011-12-31 2011-09-30 2011-06-30 2011-03-31 2010-09-30 2010-06-30 2010-03-31 2009-09-30 2009-06-30 2009-03-31 2008-09-30 2008-06-30 2008-03-31 2007-12-31 2007-09-30 2007-06-30 2007-03-31 2006-12-31 2006-09-30 2006-06-30 2006-03-31 2005-12-31 2005-09-30 2005-06-30 2005-03-31 2004-12-31 2004-06-30 2004-03-31 
                                                                                          
        assets
                                                                                          
        current assets:
                                                                                          
        cash and cash equivalents
      122,518,000 225,467,000 74,940,000 73,680,000 94,857,000 46,888,000 190,142,000 119,976,000 113,024,000 99,692,000 68,639,000 101,616,000 65,582,000 106,238,000 93,631,000 115,422,000 112,666,000 90,562,000 37,154,000 44,594,000 82,985,000 200,812,000 61,134,000 49,776,000 36,433,000 39,634,000 34,361,000 39,409,000 42,256,000 27,624,000 46,955,000 115,011,000 125,206,000 116,320,000 100,711,000 49,364,000 66,874,000 30,300,000 27,724,000 42,269,000 65,076,000 25,962,000 24,839,000 22,546,000 20,215,000 12,907,000 12,355,000 13,256,000 20,158,000 19,258,000 17,057,000 13,160,000 14,907,000 15,390,000 63,654,000 17,815,000 18,833,000 18,591,000 23,769,000 15,452,000 30,439,000 18,365,000 20,715,000 23,715,000 85,032,000 48,489,000 70,636,000 86,861,000 105,540,000 116,564,000 108,491,000 111,223,000 104,048,000 39,387,000 48,214,000 49,766,000 73,111,000 13,515,000 11,803,000 10,910,000 14,816,000 13,061,000 17,650,000 8,916,000 
        short-term investments
      759,703,000 737,068,000 783,195,000 864,538,000 981,157,000 964,804,000 866,633,000 498,985,000 501,800,000 439,547,000 497,083,000 562,346,000 716,995,000 761,426,000 492,395,000 493,552,000 358,972,000 387,074,000 313,147,000 380,983,000 381,075,000 209,452,000 151,929,000 170,930,000 188,679,000 126,405,000 138,507,000 137,213,000 156,475,000 182,686,000 184,986,000 136,443,000 143,685,000 191,247,000 211,340,000 157,192,000 89,375,000 48,309,000 62,614,000 61,153,000 46,366,000 72,023,000 80,344,000 85,322,000 63,013,000 65,589,000 65,395,000 69,090,000 57,570,000 62,384,000 58,596,000 48,438,000 59,093,000 60,220,000 26,821,000 25,265,000 30,190,000 38,994,000 43,143,000 44,449,000 46,780,000 61,739,000 67,091,000 79,723,000 29,691,000 15,607,000    3,175,000 44,450,000 44,250,000 65,499,000 70,155,000 40,478,000 45,155,000 28,150,000 62,697,000 68,761,000 78,191,000 86,809,000 92,637,000 102,269,000 18,941,000 
        accounts receivable
      17,764,000 1,808,000 8,410,000 2,012,000 16,650,000 244,000  834,000 1,283,000 2,499,000 985,000 1,006,000 147,000 2,294,000 1,973,000 6,056,000 51,819,000 644,000 2,701,000 4,514,000 4,420,000 4,965,000 2,254,000 2,704,000 5,163,000 6,576,000 8,993,000 4,165,000 2,231,000 9,156,000 236,000 37,000 1,112,000 10,000,000                                                 13,000  
        prepaid expenses and other current assets
      16,990,000 13,006,000 19,997,000 15,823,000 15,276,000 6,665,000 11,035,000 18,909,000 11,944,000 19,678,000 19,868,000 15,661,000 12,462,000 14,317,000 14,251,000 8,496,000 12,215,000 16,661,000 11,227,000 3,026,000 5,741,000 3,183,000 3,637,000 2,528,000 3,477,000                                                            
        total current assets
      916,975,000 977,349,000 886,542,000 956,053,000 1,107,940,000 1,018,601,000 1,067,810,000 638,704,000 628,051,000 561,416,000 586,575,000 680,629,000 795,186,000 884,275,000 602,250,000 623,526,000 535,672,000 494,941,000 364,229,000 433,117,000 474,221,000 418,412,000 218,954,000 225,938,000 233,752,000 176,535,000 184,951,000 186,400,000 207,674,000 227,269,000 244,229,000 272,339,000 274,295,000 321,987,000 316,996,000 211,023,000 158,633,000 148,184,000 96,618,000 106,118,000 113,107,000 100,515,000 107,900,000 110,810,000 131,131,000 81,491,000 80,078,000 86,054,000 79,338,000 83,321,000 93,620,000 63,665,000 76,427,000 78,769,000 92,960,000 45,221,000 51,140,000 59,871,000 69,804,000 62,954,000 79,258,000 90,139,000 107,089,000 128,151,000 137,100,000 65,332,000 72,783,000 89,335,000 107,510,000 122,016,000 155,205,000 158,021,000 171,660,000 153,621,000 91,413,000 97,590,000 103,107,000 78,864,000 83,655,000 92,282,000 104,825,000  122,777,000 31,131,000 
        long-term investments
      335,048,000 288,817,000 178,201,000 150,687,000 145,055,000 269,168,000 305,361,000 15,376,000 40,534,000 15,468,000 26,871,000 40,406,000 46,708,000 28,544,000 10,668,000 77,083,000 152,050,000 191,295,000 73,672,000 34,664,000 36,954,000 40,958,000  16,510,000 42,650,000  2,254,000     4,015,000 16,518,000 583,000 20,087,000 50,622,000 7,672,000 7,737,000 7,684,000 5,140,000 179,000  3,035,000 9,653,000  4,003,000 14,352,000 19,515,000 2,502,000 3,754,000    5,543,000             18,230,000 18,749,000 19,082,000 20,025,000            4,555,000 11,550,000 7,789,000 
        property and equipment
      79,194,000 76,001,000 70,219,000 67,175,000 65,815,000 64,222,000 65,689,000 68,018,000 68,748,000 75,614,000 77,248,000 78,859,000 80,453,000 80,302,000 78,586,000 75,740,000 73,271,000 53,896,000 36,942,000 23,198,000 13,346,000 7,667,000 5,611,000 5,162,000 4,530,000 3,615,000 2,945,000 3,175,000 3,204,000 2,687,000 2,598,000 3,156,000 3,568,000 3,294,000 3,268,000 3,488,000 3,637,000 2,049,000 1,659,000 1,760,000 1,751,000 1,481,000 1,571,000 1,551,000 1,637,000 1,491,000 1,513,000 1,508,000 1,221,000 804,000 809,000 898,000 997,000 906,000 994,000 1,132,000 1,310,000 1,514,000 1,705,000 2,041,000 2,574,000 2,953,000 3,282,000 3,865,000 4,249,000 4,714,000 5,605,000 6,728,000 7,201,000 7,728,000 7,820,000 8,132,000 8,667,000 9,202,000 7,178,000 5,920,000 5,949,000 6,178,000 5,920,000 6,368,000 6,727,000 7,336,000 7,764,000 8,170,000 
        operating lease right-of-use assets
      75,979,000 77,580,000 76,120,000 77,439,000 75,158,000 76,344,000 77,249,000 78,170,000 78,987,000 79,929,000 80,866,000 81,802,000 82,737,000 75,076,000 72,161,000 72,646,000 73,138,000 80,725,000 83,006,000 79,687,000                                                                 
        other assets
      17,341,000 16,810,000 14,553,000 12,697,000 7,705,000 7,725,000 7,679,000 7,814,000 7,996,000 8,187,000 8,339,000 8,119,000 9,691,000 7,764,000 8,052,000 7,258,000 7,188,000 6,682,000 6,453,000 6,396,000      7,243,000 8,068,000 9,036,000 300,000 323,000 412,000 416,000 429,000 449,000 279,000 241,000 200,000 200,000 200,000 200,000 200,000 200,000 200,000 200,000 200,000 200,000 200,000 200,000 127,000 127,000 126,000 127,000 127,000 127,000 127,000 127,000 127,000 178,000 209,000 228,000 298,000 291,000 289,000 296,000 310,000 327,000 372,000 368,000 349,000 335,000 324,000 318,000 317,000 367,000 442,000 526,000 615,000 796,000 818,000 814,000 794,000 776,000 743,000 734,000 
        total assets
      1,424,537,000 1,436,557,000 1,225,635,000 1,264,051,000 1,401,673,000 1,436,060,000 1,523,788,000 808,082,000 824,316,000 740,614,000 779,899,000 889,815,000 1,014,775,000 1,075,961,000 771,717,000 856,253,000 841,319,000 827,539,000 564,302,000 577,062,000 533,803,000 474,112,000 232,495,000 256,582,000 289,814,000 187,393,000 198,218,000 198,611,000 211,178,000 230,279,000 247,239,000 279,926,000 294,810,000 326,313,000 340,630,000 265,374,000 170,142,000 158,170,000 106,161,000 113,218,000 115,237,000 102,196,000 112,706,000 122,214,000 132,968,000 87,185,000 96,143,000 107,277,000 83,188,000 88,006,000 94,555,000 64,690,000 77,551,000 85,345,000 94,081,000 46,531,000 52,773,000 61,778,000 72,157,000 65,662,000 82,918,000 94,616,000 111,893,000 134,164,000 144,069,000 92,922,000 100,043,000 119,366,000 138,338,000 155,370,000 168,702,000 172,812,000 186,995,000 169,516,000 104,649,000 109,578,000 114,668,000 91,461,000 95,901,000 105,202,000 117,832,000  149,503,000 56,169,000 
        liabilities and stockholders’ deficit
                                                                                          
        current liabilities:
                                                                                          
        accounts payable
      22,337,000 22,084,000 16,228,000 13,942,000 20,369,000 11,581,000 9,470,000 12,967,000 21,507,000 13,796,000 12,561,000 17,357,000 25,611,000 14,429,000 14,078,000 19,836,000 21,087,000 16,222,000 14,928,000 7,766,000 8,050,000 6,738,000 2,920,000 3,527,000 8,160,000 3,412,000 5,194,000 2,547,000 3,764,000 2,024,000 1,336,000 2,424,000 5,253,000 4,079,000 1,783,000 3,042,000 4,236,000 668,000 2,846,000 547,000 2,238,000 1,907,000 1,601,000 1,392,000 1,361,000 1,646,000 985,000 1,689,000 3,709,000 1,789,000 1,801,000 1,086,000 2,002,000 1,518,000 1,046,000 926,000 1,196,000 1,450,000 1,005,000 1,045,000 1,013,000 1,196,000 1,700,000 1,349,000 924,000 1,256,000 1,013,000 1,659,000 2,306,000 1,584,000 2,505,000 2,221,000 1,815,000 2,838,000 2,448,000 1,890,000 1,617,000 2,352,000 1,366,000 773,000 1,252,000 2,059,000 1,926,000 1,032,000 
        accrued liabilities
      83,278,000 61,633,000 52,315,000 43,358,000 55,323,000 49,826,000 39,813,000 40,123,000 42,641,000 32,954,000 31,470,000 35,632,000 44,096,000 40,229,000 36,702,000 29,477,000 34,370,000 31,772,000 22,394,000 14,806,000 19,315,000 14,486,000 13,688,000 9,677,000 12,123,000 13,139,000 11,828,000 12,944,000 15,757,000 15,652,000 16,090,000 15,545,000 17,392,000 18,455,000 13,545,000 17,503,000 18,047,000 17,783,000 9,503,000 7,877,000 8,421,000 6,759,000 6,429,000 3,981,000 5,400,000 6,012,000 6,911,000 7,678,000 8,272,000 9,886,000 6,706,000 4,690,000 4,877,000 2,942,000 2,943,000 3,541,000 3,232,000 3,263,000 3,737,000 4,279,000 4,446,000 4,411,000 4,281,000 6,207,000 8,230,000 6,569,000 8,750,000 8,024,000 8,190,000 8,558,000 7,292,000 5,740,000 5,647,000 7,466,000 6,424,000 5,502,000 4,215,000 4,137,000 4,282,000 3,994,000 3,780,000 3,697,000 2,918,000 3,407,000 
        short-term operating lease liabilities
      19,111,000 20,647,000 19,585,000 19,574,000 18,978,000 18,856,000 18,507,000 18,230,000 17,891,000 17,236,000 15,701,000 14,263,000 12,829,000 16,056,000 14,303,000 14,490,000 14,863,000                                                                    
        current portion of convertible and long-term debt
      41,181,000                                                                                    
        derivative liabilities measured at fair value
      31,100,000 16,900,000 17,600,000 11,700,000 11,300,000 12,500,000 13,200,000                                                                              
        deferred revenue
      1,612,000 1,612,000 1,344,000 52,370,000 52,370,000                                                      263,000 17,000   217,000        12,234,000 12,234,000 12,234,000    700,000        
        other current liabilities
      3,833,000 1,988,000 9,592,000 5,822,000 9,814,000 5,529,000 10,267,000 6,015,000 10,559,000 13,737,000 5,885,000 7,968,000 2,081,000 5,782,000 1,760,000 3,044,000 1,540,000 2,413,000 1,004,000 2,438,000 1,049,000 2,406,000 1,013,000 2,507,000 1,124,000 389,000 399,000 75,000 66,000 38,000 28,000 235,000 227,000 424,000 474,000                                                  
        total current liabilities
      202,452,000 142,144,000 131,064,000 159,726,000 179,674,000 109,812,000 102,777,000 88,855,000 102,678,000 77,723,000 65,617,000 75,220,000 84,617,000 76,496,000 66,843,000 66,847,000 71,860,000 80,868,000 61,766,000 35,930,000 31,199,000 27,573,000 22,696,000 20,741,000 26,023,000 21,517,000 21,959,000 26,277,000 22,194,000 21,492,000 27,289,000 38,546,000 32,444,000 42,357,000 31,059,000 36,796,000 33,258,000 29,334,000 26,272,000 24,683,000 31,649,000 30,143,000 29,112,000 25,385,000 23,855,000 12,986,000 16,917,000 19,792,000 26,704,000 45,011,000 34,046,000 5,819,000 7,105,000 4,589,000 3,989,000 4,467,000 4,592,000 5,034,000 5,505,000 6,042,000 6,487,000 6,875,000 17,534,000 20,469,000 23,248,000 22,062,000 24,467,000 24,952,000 26,294,000 26,448,000 26,238,000 24,388,000 23,850,000 26,393,000 12,405,000 10,650,000 9,685,000 11,264,000 10,764,000 10,476,000 12,097,000  10,468,000 9,231,000 
        term loans
      246,384,000 158,747,000 159,058,000 92,025,000 93,227,000 93,017,000 92,831,000                                                                              
        convertible notes
      869,597,000 889,524,000 553,987,000 553,143,000 552,370,000 551,481,000 550,600,000 549,790,000 548,989,000 548,134,000 547,288,000 546,513,000 545,808,000 544,986,000 134,674,000 134,511,000 95,471,000 93,885,000 92,348,000 90,889,000 89,504,000 88,102,000 86,743,000 85,455,000 84,205,000                                                            
        liabilities related to revenue participation right purchase agreements
      520,559,000 504,498,000 489,503,000 476,296,000 462,192,000 448,509,000 435,112,000 390,219,000 379,975,000 370,049,000 313,163,000 306,814,000 300,501,000 291,260,000 282,266,000 275,235,000                                                                     
        long-term operating lease liabilities
      107,970,000 110,655,000 111,028,000 113,353,000 112,582,000 114,752,000 116,718,000 118,554,000 120,427,000 122,216,000 123,829,000 125,341,000 126,895,000 114,405,000 112,732,000 112,023,000 112,229,000                                                                    
        liabilities related to rpi transactions measured at fair value
      137,200,000 150,500,000 147,700,000 133,100,000 137,000,000 132,400,000 117,200,000                                                                              
        total liabilities
      2,084,162,000 1,957,680,000 1,594,355,000 1,530,464,000 1,537,045,000 1,449,971,000 1,415,238,000 1,204,242,000 1,210,639,000 1,179,415,000 1,113,014,000 1,118,835,000 1,122,675,000 1,091,938,000 660,303,000 739,992,000 597,456,000 578,519,000 547,813,000 509,216,000 420,420,000 324,507,000 310,575,000 302,293,000 300,751,000 207,262,000 203,114,000 195,239,000 185,244,000 178,210,000 172,069,000 180,327,000 184,968,000 179,275,000 165,629,000 169,991,000 75,781,000 74,920,000 57,415,000 55,312,000 46,647,000 34,896,000 37,845,000 38,062,000 40,904,000 13,555,000 17,446,000 21,099,000 28,746,000 48,255,000 42,566,000 6,260,000 7,466,000 4,742,000 4,100,000 4,524,000 4,595,000 5,034,000 5,505,000 6,076,000 6,796,000 7,364,000 18,258,000 21,807,000 25,005,000 45,726,000 42,739,000 46,778,000 51,714,000 55,454,000 59,204,000 61,475,000 65,046,000 63,203,000 19,059,000 16,786,000 15,618,000 17,900,000 17,678,000 17,344,000 20,287,000  21,478,000 20,330,000 
        commitments and contingencies
                                                                                          
        stockholders' deficit
                                                                                          
        preferred stock, 0.001 par value:
                                                                                          
        authorized: 10,000,000 shares; issued and outstanding: none
                                                                                          
        common stock
       122,000 119,000 119,000  118,000 117,000 105,000  94,000 94,000 94,000  93,000 85,000 85,000  84,000 72,000 71,000  70,000 60,000 59,000  59,000 58,000 55,000  55,000 55,000 54,000                      142,000 133,000            49,000 49,000 49,000  49,000 47,000 47,000            
        authorized: 326,000,000 shares
                                                                                          
        issued and outstanding: 122,943,172 shares at december 31, 2025 and 118,209,139 shares at december 31, 2024
      123,000                                                                                    
        additional paid-in capital
      2,826,341,000 2,782,409,000 2,628,829,000 2,595,063,000 2,563,876,000 2,532,328,000 2,500,654,000 1,852,155,000 1,725,823,000 1,537,321,000 1,514,169,000 1,489,814,000 1,481,590,000 1,438,103,000 1,422,127,000 1,406,249,000 1,452,268,000 1,426,051,000 1,117,403,000 1,107,135,000 1,105,470,000 1,096,953,000 865,724,000 857,038,000 853,341,000 813,729,000 799,088,000 775,401,000 768,703,000 765,970,000 762,887,000 757,405,000 755,526,000 752,154,000 748,273,000 639,507,000 612,474,000 609,880,000 607,287,000 604,909,000 603,145,000 592,760,000 591,476,000 590,234,000 589,272,000 579,255,000 578,363,000 577,470,000 537,001,000 528,831,000 528,501,000 519,772,000 518,804,000 517,872,000 517,229,000 460,369,000 456,610,000 453,296,000 452,559,000 431,872,000 425,087,000 423,881,000 417,132,000 411,106,000 409,639,000 393,730,000 384,163,000 382,730,000 381,137,000 379,730,000 376,218,000 366,936,000 365,073,000 338,078,000 301,677,000 294,336,000 287,074,000 249,521,000 243,466,000 243,452,000 243,051,000 243,239,000 242,572,000 7,596,000 
        accumulated other comprehensive income
      630,000 34,000 -158,000 1,545,000 2,398,000 5,387,000           -869,000 -65,000 -22,000 50,000 149,000 958,000 1,337,000 1,613,000 679,000 719,000 761,000 606,000 500,000 447,000 450,000 489,000 343,000 426,000 -86,000 -9,000 137,000 252,000 229,000 156,000 149,000 16,000 12,000  -4,000 24,000 12,000 12,000 7,000 19,000 -1,000 10,000 18,000 13,000 -1,000 -2,000 3,000 8,000 15,000 9,000 7,000 3,000 -7,000 24,000 -3,000 4,000                -188,000 -89,000 67,000 
        accumulated deficit
      -3,486,719,000 -3,303,688,000 -2,997,510,000 -2,863,140,000 -2,701,764,000 -2,551,744,000 -2,391,199,000 -2,247,881,000 -2,112,238,000 -1,975,342,000 -1,845,920,000 -1,717,283,000 -1,585,994,000 -1,448,614,000 -1,306,304,000 -1,286,484,000 -1,207,620,000 -1,177,050,000 -1,100,964,000 -1,039,410,000 -992,306,000 -948,376,000 -945,201,000 -904,421,000 -865,016,000 -834,376,000 -804,803,000 -772,690,000 -743,324,000 -714,403,000 -688,222,000 -658,349,000 -646,081,000 -605,596,000 -573,239,000 -544,158,000 -518,291,000 -526,923,000 -558,810,000 -547,199,000 -534,744,000 -525,515,000 -516,666,000 -506,115,000 -497,243,000 -505,686,000 -499,715,000 -491,340,000 -482,597,000                                    
        total stockholders' deficit
      -659,625,000 -521,123,000 -368,720,000 -266,413,000 -135,372,000 -13,911,000                                                                               
        total liabilities and stockholders' deficit
      1,424,537,000 1,436,557,000 1,225,635,000 1,264,051,000 1,401,673,000 1,436,060,000                                                                               
        current portion of long-term debt
       17,280,000 14,400,000 12,960,000 11,520,000 11,520,000 11,520,000 11,520,000 10,080,000         16,875,000 11,250,000 5,625,000        6,212,000 2,607,000 3,778,000 1,703,000   9,829,000 7,315,000 4,825,000 2,500,000                                                
        other non-current liabilities
       1,612,000 2,015,000 2,821,000    2,000 186,000 408,000 625,000 837,000 1,044,000 1,247,000 1,444,000 3,211,000 4,457,000                                                                    
        preferred stock
                                                                                          
        authorized: 163,000,000 shares
                                                                                          
        issued and outstanding: 118,209,139 shares at december 31, 2024 and 101,637,922 shares at december 31, 2023
          118,000                                                                                
        liabilities and stockholders’ equity
                                                                                          
        stockholders’ equity
                                                                                          
        accumulated other comprehensive loss
            -1,022,000 -539,000 -10,000 -874,000 -1,458,000 -1,645,000 -3,590,000 -5,559,000 -4,494,000 -3,589,000                            -6,000                       -1,795,000 -1,276,000 -948,000 -1,000 -13,000 -60,000 -54,000 -75,000 -22,000 -56,000  -14,000 -43,000 -95,000 -181,000    
        total stockholders’ equity
            108,550,000        111,414,000 116,261,000 243,863,000 249,020,000 16,489,000 67,846,000 113,383,000 149,605,000   -10,937,000 -19,869,000 -4,896,000 3,372,000 25,934,000 52,069,000 75,170,000 99,599,000 109,842,000 147,038,000 175,001,000 95,383,000 94,361,000 83,250,000 48,746,000 57,906,000 68,590,000 67,300,000 74,861,000 84,152,000 92,064,000 73,630,000 78,697,000 86,178,000 54,442,000 39,751,000 51,989,000 58,430,000 70,085,000 80,603,000 89,981,000 42,007,000 48,178,000 56,744,000 66,652,000 59,586,000 76,122,000 87,252,000 93,635,000 112,357,000 119,064,000 47,196,000 57,304,000 72,588,000 86,624,000 99,916,000 109,498,000 111,337,000 121,949,000 106,313,000 85,560,000 92,792,000 99,050,000 73,561,000 78,223,000 87,858,000 97,545,000  128,025,000  
        total liabilities and stockholders’ equity
            1,523,788,000        771,717,000 856,253,000 841,319,000 827,539,000 564,302,000 577,062,000 533,803,000 474,112,000   289,814,000 187,393,000 198,218,000 198,611,000 211,178,000 230,279,000 247,239,000 279,926,000 294,810,000 326,313,000 340,630,000 265,374,000 170,142,000 158,170,000 106,161,000 113,218,000 115,237,000 102,196,000 112,706,000 122,214,000 132,968,000 87,185,000 96,143,000 107,277,000 83,188,000 88,006,000 94,555,000 64,690,000 77,551,000 85,345,000 94,081,000 46,531,000 52,773,000 61,778,000 72,157,000 65,662,000 82,918,000 94,616,000 111,893,000 134,164,000 144,069,000 92,922,000 100,043,000 119,366,000 138,338,000 155,370,000 168,702,000 172,812,000 186,995,000 169,516,000 104,649,000 109,578,000 114,668,000  95,901,000 105,202,000 117,832,000    
        term loan
             56,822,000 58,384,000 60,885,000 62,492,000 64,110,000 63,810,000 63,544,000 62,344,000 61,165,000 47,367,000 30,203,000 35,538,000 40,874,000 46,209,000 45,920,000 45,631,000 45,340,000 45,052,000                                                            
        stockholders’ deficit:
                                                                                          
        total stockholders’ deficit
             -396,160,000 -386,323,000 -438,801,000 -333,115,000 -229,020,000           -78,080,000 -45,711,000                                                            -97,333,000 
        total liabilities and stockholders’ deficit
             808,082,000 824,316,000 740,614,000 779,899,000 889,815,000           232,495,000 256,582,000                                                             
        issued and outstanding: 101,637,922 shares at december 31, 2023 and 94,833,975 shares at december 31, 2022
              102,000                                                                            
        preferred stock, 0.001 par value
                                                                                          
        liabilities and stockholders’ (deficit) equity
                                                                                          
        long-term deferred revenue
                     87,000,000 87,000,000 87,000,000 87,000,000 87,000,000 87,000,000                                                                
        stockholders’ (deficit) equity:
                                                                                          
        issued and outstanding: 94,833,975 shares at december 31, 2022 and 84,799,542 shares at december 31, 2021
                  94,000                                                                        
        total stockholders’ (deficit) equity
                  -107,900,000 -15,977,000                                                                       
        total liabilities and stockholders’ (deficit) equity
                  1,014,775,000 1,075,961,000                                                                       
        revenues:
                                                                                          
        research and development revenues
                  6,588,000                                                                        
        license revenues
                                                                                          
        milestone revenues
                  1,000,000                                                                        
        realization of revenue participation right purchase agreement
                  87,000,000                                                                        
        total revenues
                  94,588,000                                                                        
        operating expenses:
                                                                                          
        research and development
                  240,813,000                                                                        
        general and administrative
                  177,977,000                                                                        
        total operating expenses
                  418,790,000                                                                        
        operating income
                  -324,202,000                                                                        
        interest expense
                  -19,414,000                                                                        
        loss on settlement of debt
                  -24,939,000                                                                        
        non-cash interest expense on liabilities related to revenue participation right purchase agreements
                  -31,742,000                                                                        
        interest and other income
                  11,342,000                                                                        
        net income
                  -388,955,000                                                                        
        net income per share
                  -4,330                                                                        
        weighted-average number of shares used in computing net income per share — basic and diluted
                  89,825,000                                                                        
        other comprehensive loss:
                                                                                          
        unrealized loss on available-for-sale securities
                  -2,721,000                                                                        
        comprehensive loss
                  -391,676,000                                                                        
        stockholders’ equity:
                                                                                          
        liabilities related to revenue participation right purchase agreement
                      179,072,000                                                                    
        issued and outstanding: 84,799,542 shares at december 31, 2021 and 71,015,183 shares at december 31, 2020
                      84,000                                                                    
        short-term lease liabilities
                       13,586,000 12,190,000 5,295,000                                                                 
        liability related to the sale of future royalties
                       174,775,000 171,790,000 168,890,000 166,068,000 160,395,000 154,914,000 148,983,000 143,276,000 137,726,000 132,388,000 127,308,000 122,473,000 117,718,000 113,144,000 108,792,000 104,650,000 100,575,000 96,657,000 92,928,000                                                 
        long-term lease and other non-current liabilities
                       111,788,000 99,371,000  440,000 2,517,000                                                               
        long-term lease liabilities
                         85,633,000                                                                 
        operating lease right-of-use assets and other assets
                          9,282,000 7,075,000 7,930,000 8,972,000 8,882,000                                                            
        short-term lease liability
                          2,785,000 3,943,000 5,075,000 5,030,000 4,616,000 4,577,000 4,538,000 4,499,000                                                         
        issued and outstanding: 71,015,183 shares at december 31, 2020 and 59,172,124 shares at december 31, 2019
                          70,000                                                                
        long-term lease liability
                            591,000 1,774,000 2,195,000 3,257,000 4,294,000 5,272,000                                                         
        contract assets
                                575,000 2,472,000 4,554,000 5,876,000 10,375,000 18,550,000                                                     
        issued and outstanding: 59,172,124 shares at december 31, 2019 and 54,717,906 shares at december 31, 2018
                              59,000                                                            
        prepaid and other current assets
                               3,920,000 2,515,000 3,141,000 2,158,000 1,927,000 1,677,000 2,298,000 4,292,000 4,420,000 4,945,000 3,557,000 2,360,000 2,575,000 6,254,000 2,696,000 1,653,000 2,483,000 2,713,000 1,972,000 1,257,000 1,804,000 2,009,000 1,592,000 1,605,000 1,679,000 1,967,000 1,739,000 2,423,000 3,159,000 2,482,000 2,058,000 2,103,000 2,170,000 2,865,000 3,019,000 1,777,000 2,349,000 1,613,000 2,010,000 1,840,000 1,189,000 2,001,000 2,337,000 1,735,000 2,063,000 2,007,000 2,356,000 1,754,000 1,848,000 2,498,000 2,438,000 1,645,000 1,925,000 1,768,000 2,572,000 2,419,000 2,603,000   
        long-term debt
                               44,762,000 44,473,000 36,382,000 39,806,000 38,127,000 30,662,000 31,954,000 31,777,000 20,471,000 22,844,000 25,195,000 27,381,000 29,742,000 29,604,000 29,466,000 14,639,000                                            
        other long-term liabilities
                                  771,000 873,000 974,000 1,035,000 1,097,000  2,000                                                  
        deferred revenue, current
                                     4,506,000 9,572,000 9,570,000 7,942,000 10,974,000 8,060,000 10,497,000 13,559,000 15,911,000 20,858,000 21,367,000 20,993,000 19,942,000 17,042,000 5,284,000 8,984,000 10,396,000 14,701,000 33,322,000 25,529,000                                  
        deferred revenue, non-current
                                      15,000,000 15,872,000 15,067,000 15,000,000 15,000,000 15,635,000 1,275,000 851,000  4,346,000 8,293,000 12,211,000 16,558,000 52,000  772,000 1,500,000 2,696,000 8,000,000                                  
        issued and outstanding: 54,717,906 shares at december 31, 2018 and 53,960,832 shares at december 31, 2017
                                  55,000                                                        
        contract liabilities
                                    8,132,000 15,836,000                                                     
        authorized: 163,000,000
                                                                                          
        issued and outstanding: 53,960,832 shares at december 31, 2017 and 40,646,595 shares at december 31, 2016
                                      54,000                                                    
        authorized: 10,000,000 shares;
                                                                                          
        issued and outstanding: series a convertible preferred stock — zero shares at september 30, 2017 and december 31, 2016
                                                                                          
        authorized: 163,000,000 shares;
                                                                                          
        issued and outstanding: 53,862,617 shares at september 30, 2017 and 40,646,595 shares at december 31, 2016
                                       54,000                                                   
        issued and outstanding: series a convertible preferred stock — zero shares at june 30, 2017 and december 31, 2016
                                                                                          
        issued and outstanding: 53,457,091 shares at june 30, 2017 and 40,646,595 shares at december 31, 2016
                                        53,000                                                  
        related party accounts receivable
                                         910,000 24,000 67,000,000 26,000  12,000 47,000 4,000 970,000 46,646,000    5,000   328,000 4,000  3,000 83,000 14,000 116,000 27,000 34,000 262,000 211,000 11,000 4,544,000 522,000 7,000 69,000 60,000 58,000 87,000 130,000 65,000 133,000 42,071,000 63,000 71,000 50,000 576,000 984,000 211,000 131,000 53,000  204,000 
        short-term portion of deferred rent and interest payable
                                         452,000 415,000 386,000 364,000 348,000                                             
        long-term portion of deferred rent
                                         72,000 142,000 209,000 264,000 312,000 359,000 407,000 440,000 466,000 491,000 517,000 529,000 535,000 542,000 548,000 520,000 441,000 361,000 153,000 111,000 57,000 3,000                            
        issued and outstanding: series a convertible preferred stock — zero shares at march 31, 2017 and december 31, 2016
                                                                                          
        issued and outstanding: 43,417,342 shares at march 31, 2017 and 40,646,595 shares at december 31, 2016
                                         43,000                                                 
        issued and outstanding: series a convertible preferred stock — zero shares at december 31, 2016 and december 31, 2015
                                                                                          
        authorized: 163,000,000 shares at december 31, 2016 and 81,500,000 shares at december 31, 2015;
                                                                                          
        issued and outstanding: 40,646,595 shares at december 31, 2016 and 39,581,692 shares at december 31, 2015
                                          41,000                                                
        issued and outstanding: series a convertible preferred stock — zero shares at september 30, 2016 and december 31, 2015
                                                                                          
        authorized: 81,500,000 shares;
                                                                                          
        issued and outstanding: 40,516,892 shares at september 30, 2016 and 39,581,692 shares at december 31, 2015
                                           41,000                                               
        issued and outstanding: series a convertible preferred stock — zero shares at june 30, 2016 and december 31, 2015
                                                                                          
        issued and outstanding: 39,697,508 shares at june 30, 2016 and 39,581,692 shares at december 31, 2015
                                            40,000                                              
        issued and outstanding: series a convertible preferred stock — zero shares at march 31, 2016 and december 31, 2015
                                                                                          
        issued and outstanding: 39,607,437 shares at march 31, 2016 and 39,581,692 shares at december 31, 2015
                                             40,000                                             
        short-term portion of deferred rent
                                              132,000 110,000 89,000 70,000 52,000 44,000 37,000 29,000 22,000 14,000 10,000 43,000 76,000                                
        issued and outstanding: series a convertible preferred stock — zero shares at december 31, 2015 and december 31, 2014
                                                                                          
        issued and outstanding: 39,581,692 shares at december 31, 2015 and 38,659,738 shares at december 31, 2014
                                              40,000                                            
        issued and outstanding: series a convertible preferred stock — zero shares at september 30, 2015 and december 31, 2014
                                                                                          
        issued and outstanding: 38,756,313 shares at september 30, 2015 and 38,659,738 shares at december 31, 2014
                                               39,000                                           
        issued and outstanding: series a convertible preferred stock — zero shares at june 30, 2015 and december 31, 2014
                                                                                          
        issued and outstanding: 38,728,921 shares at june 30, 2015 and 38,659,738 shares at december 31, 2014
                                                39,000                                          
        issued and outstanding: series a convertible preferred stock — zero shares at march 31, 2015 and december 31, 2014
                                                                                          
        issued and outstanding: 38,716,905 shares at march 31, 2015 and 38,659,738 shares at december 31, 2014
                                                 39,000                                         
        issued and outstanding: series a convertible preferred stock — zero shares at december 31, 2014 and december 31, 2013
                                                                                          
        issued and outstanding: 38,659,738 shares at december 31, 2014 and 30,681,624 shares at december 31, 2013
                                                  39,000                                        
        accounts receivable and related party receivable
                                                   1,191,000 319,000 2,116,000                                     
        authorized: 10,000,000 shares; issued and outstanding, none
                                                                                          
        issued and outstanding: 36,608,781 shares at september 30, 2014 and 30,681,624 shares at december 31, 2013
                                                   37,000                                       
        issued and outstanding: 36,608,781 shares at june 30, 2014 and 30,681,624 shares at december 31, 2013
                                                    37,000                                      
        issued and outstanding: 36,090,071 shares at march 31, 2014 and 30,681,624 shares at december 31, 2013
                                                     36,000                                     
        related party payables and accrued liabilities
                                                          150,000    12,000 11,000 11,000 11,000   10,000 10,000 10,000 15,000 10,000 6,000 22,000 22,000 36,000 76,000 115,000 164,000 216,000 268,000 390,000 649,000       
        authorized: 10,000,000 shares ; issued and outstanding:
                                                                                          
        series a convertible preferred stock — zero shares at december 31, 2013 and december 31, 2012
                                                                                          
        series b convertible preferred stock — zero shares at december 31, 2013 and 23,026 shares at december 31, 2012
                                                                                          
        issued and outstanding: 30,681,624 shares at december 31, 2013 and 23,742,911 shares at december 31, 2012
                                                      31,000                                    
        issued and outstanding: series b convertible preferred stock — 0 shares at september 30, 2013 and 23,026 shares at december 31, 2012
                                                                                          
        issued and outstanding: 29,503,123 shares at september 30, 2013 and 23,742,911 shares at december 31, 2012
                                                       29,000                                   
        deficit accumulated during the development stage
                                                       -489,128,000 -476,540,000 -461,499,000 -448,880,000 -437,424,000 -427,380,000 -418,438,000 -408,510,000 -396,632,000 -385,994,000 -372,362,000 -349,037,000 -336,696,000 -323,552,000 -298,834,000 -290,633,000 -346,592,000 -325,051,000 -308,791,000 -293,427,000 -279,533,000 -266,280,000 -254,959,000 -242,331,000 -230,639,000 -214,693,000 -199,773,000 -185,987,000 -173,524,000 -162,443,000 -152,342,000 -141,802,000 -131,272,000 -109,237,000 -100,006,000 
        license fee receivable
                                                        16,000,000                                  
        issued and outstanding: series b convertible preferred stock — 4,000 shares at june 30, 2013 and 23,026 shares at december 31, 2012
                                                                                          
        issued and outstanding: 28,685,215 shares at june 30, 2013 and 23,742,911 shares at december 31, 2012
                                                        29,000                                  
        authorized: 10,000,000 shares; issued and outstanding:
                                                                                          
        series b convertible preferred stock — 19,026 shares at march 31, 2013 and 23,026 shares at december 31, 2012
                                                                                          
        authorized: 245,000,000 shares;
                                                                                          
        issued and outstanding: 146,463,469 shares at march 31, 2013 and 142,457,469 shares at december 31, 2012
                                                         147,000                                 
        restricted cash
                                                             51,000 196,000 215,000 439,000 439,000 788,000 1,233,000 1,233,000 1,674,000 2,232,000 2,232,000 2,750,000 4,147,000 4,147,000 5,167,000 5,167,000 6,125,000 6,125,000 6,034,000 5,204,000 5,100,000 4,546,000 5,172,000 4,936,000 5,136,000 5,136,000 5,980,000 5,523,000 7,199,000 
        short-term portion of equipment financing lines
                                                              152,000 310,000 489,000 690,000 1,028,000 1,268,000 1,453,000 1,725,000 1,797,000 1,925,000 2,460,000 3,029,000 3,542,000 4,050,000 4,171,000 4,117,000 4,039,000 3,691,000 3,317,000 2,990,000 2,763,000 2,726,000 2,608,000 2,448,000 2,421,000 2,387,000 2,108,000 1,992,000 
        series a convertible preferred stock — zero shares at december 31, 2012 and 8,070 shares at december 31, 2011
                                                                                          
        series b convertible preferred stock — 23,026 shares at december 31, 2012 and zero shares at december 31, 2011
                                                                                          
        issued and outstanding: 142,457,469 shares at december 31, 2012 and 74,915,739 shares at december 31, 2011
                                                          143,000                                
        short-term portion of deferred revenue
                                                           129,000          708,000  12,297,000 12,234,000 12,234,000 12,234,000 12,234,000    12,234,000    1,400,000 2,100,000 2,800,000 4,299,000 2,800,000 2,800,000 2,800,000 
        commitments and contingencies stockholders’ equity:
                                                                                          
        series a convertible preferred stock — zero shares at september 30, 2012 and 8,070 shares at december 31, 2011;
                                                                                          
        series b convertible preferred stock — 23,026 shares at september 30, 2012 and zero shares at december 31, 2011
                                                                                          
        authorized: 245,000,000 shares; issued and outstanding: 142,413,069 shares at september 30, 2012 and 74,915,739 shares at december 31, 2011
                                                                                          
        series a convertible preferred stock — 8,070 shares at june 30, 2012 and december 31, 2011;
                                                                                          
        series b convertible preferred stock — 23,026 shares at june 30, 2012 and zero shares at december 31, 2011
                                                                                          
        authorized: 245,000,000 shares; issued and outstanding: 133,478,796 shares at june 30, 2012 and 74,915,739 shares at december 31, 2011
                                                                                          
        authorized: 10,000,000 shares issued and outstanding: series a convertible preferred stock — 8,070 shares at march 31, 2012 and december 31, 2011
                                                                                          
        authorized: 245,000,000 shares issued and outstanding: 77,512,080 shares at march 31, 2012 and 74,915,739 shares at december 31, 2011
                                                             78,000                             
        long-term portion of equipment financing lines
                                                                 34,000 309,000 489,000 724,000 1,338,000 1,757,000 2,187,000 3,081,000 3,576,000 4,112,000 4,639,000 5,541,000 6,604,000 7,654,000 7,144,000 6,654,000 6,136,000 5,933,000 6,636,000 6,914,000 6,868,000 7,490,000 8,106,000 8,210,000 7,599,000 
        authorized: 10,000,000 shares in 2011 and 2010
                                                                                          
        issued and outstanding: series a convertible preferred stock — 8,070 shares in 2011 and zero shares in 2010
                                                                                          
        authorized: 245,000,000 shares in 2011 and 170,000,000 in 2010
                                                                                          
        issued and outstanding: 74,915,739 shares in 2011 and 66,907,600 shares in 2010
                                                              75,000                            
        authorized: 10,000,000 shares at september 30, 2011 and december 31, 2010
                                                                                          
        issued and outstanding: series a convertible preferred stock — 8,070 shares at september 30, 2011 and zero shares at december 31, 2010
                                                                                          
        authorized: 245,000,000 shares at september 30, 2011 and 170,000,000 shares at december 31, 2010
                                                                                          
        issued and outstanding: 72,279,751 shares at september 30, 2011 and 66,907,600 shares at december 31, 2010
                                                               72,000                           
        authorized: 10,000,000 shares at june 30, 2011 and december 31, 2010
                                                                                          
        issued and outstanding: series a convertible preferred stock — 8,070 shares at june 30, 2011 and zero shares at december 31, 2010
                                                                                          
        authorized: 170,000,000 shares at june 30, 2011 and december 31, 2010
                                                                                          
        issued and outstanding: 72,279,751 shares at june 30, 2011 and 66,907,600 shares at december 31, 2010
                                                                72,000                          
        convertible preferred stock:
                                                                                          
        authorized: 10,000,000 shares at march 31, 2011 and december 31, 2010 issued and outstanding: zero shares at march 31, 2011 and december 31, 2010
                                                                                          
        authorized: 170,000,000 shares at march 31, 2011 and december 31, 2010 issued and outstanding: 66,916,100 shares at march 31, 2011 and 66,907,600 shares at december 31, 2010
                                                                 67,000                         
        investments in auction rate securities
                                                                   6,698,000 15,311,000 15,782,000 17,254,000 17,306,000                   
        investment put option related to auction rate securities rights
                                                                   777,000 2,339,000 2,368,000 2,721,000                    
        related party notes receivable
                                                                    9,000               451,000   350,000 387,000 1,146,000 1,146,000 
        loan with ubs
                                                                    9,873,000 10,470,000 12,287,000 12,355,000                   
        authorized: 170,000,000 shares; issued and outstanding: 64,572,009 shares at september 30, 2010 and 61,275,036 shares at december 31, 2009
                                                                  65,000                        
        authorized: 170,000,000 shares; issued and outstanding: 64,513,092 shares at june 30, 2010 and 61,275,036 shares at december 31, 2009
                                                                   64,000                       
        authorized: 170,000,000 shares; issued and outstanding: 62,479,802 shares at march 31, 2010 and 61,275,036 shares at december 31, 2009
                                                                    62,000                      
        related party notes receivable — short-term portion
                                                                     9,000 40,000 40,000 77,000 77,000 177,000 127,000 127,000 127,000 226,000 160,000 160,000 160,000 151,000 151,000 339,000 398,000 650,000 713,000   
        assets held-for-sale
                                                                     178,000 178,000 283,000 294,000                  
        related party notes receivable — long-term portion
                                                                       9,000 9,000 39,000 49,000 99,000 186,000 216,000 226,000 292,000 412,000 442,000 451,000        
        long-term portion of deferred revenue
                                                                       9,122,000 15,191,000 18,250,000 21,308,000 24,367,000 27,425,000 30,483,000 33,542,000 29,666,000       700,000 1,400,000 2,800,000 3,500,000 
        authorized: 170,000,000 shares; issued and outstanding: 60,908,591 shares at september 30, 2009 and 49,939,069 shares at december 31, 2008
                                                                     61,000                     
        authorized: 170,000,000 shares; issued and outstanding: 60,790,925 shares at june 30, 2009 and 49,939,069 shares at december 31, 2008
                                                                      61,000                    
        investment in put option
                                                                       2,719,000                   
        authorized: 170,000,000 shares; issued and outstanding:
                                                                                          
        53,560,417 shares at march 31, 2009 and 49,939,069 shares at december 31, 2008
                                                                       54,000                   
        deferred stock-based compensation
                                                                        -62,000 -124,000 -187,000 -329,000 -476,000 -627,000 -786,000 -1,094,000 -1,410,000 -1,752,000 -2,073,000 -2,452,000 -2,786,000 -3,186,000 -3,552,000 -4,251,000 -5,249,000 -4,993,000 
        authorized: 120,000,000 shares
                                                                                          
        issued and outstanding: 49,282,362 shares in 2007 and 43,283,558 shares in 2006
                                                                           49,000               
        commitments
                                                                                          
        issued and outstanding: 43,283,558 shares in 2006 and 29,710,895 shares in 2005
                                                                               43,000           
        convertible preferred stock, 0.001 par value:
                                                                                          
        authorized: 120,000,000 shares; issued and outstanding: 37,793,573 shares in 2006 and 29,710,895 shares in 2005
                                                                                38,000          
        authorized: 120,000,000 shares; issued and outstanding: 36,613,565 shares in 2006 and 29,710,895 shares in 2005
                                                                                 37,000         
        authorized: 120,000,000 shares; issued and outstanding: 35,595,682 shares in 2006 and 29,710,895 shares in 2005
                                                                                  36,000        
        liabilities, convertible preferred stock and stockholders’ equity
                                                                                          
        authorized: 10,000,000 shares
                                                                                          
        issued and outstanding: none in 2005 and 2004
                                                                                          
        issued and outstanding: 29,710,895 shares in 2005 and 28,453,173 shares in 2004
                                                                                   30,000       
        total liabilities, convertible preferred stock and stockholders’ equity
                                                                                   91,461,000     149,503,000  
        related party notes receivable— long-term portion
                                                                                    572,000 602,000     
        related party accrued liabilities
                                                                                    408,000 461,000 345,000 96,000 716,000  
        authorized: 120,000,000 shares; issued and outstanding: 28,660,743 shares in 2005 and 28,453,173 shares in 2004
                                                                                    29,000      
        authorized: 120,000,000 shares; issued and outstanding: 28,621,634 shares in 2005 and 28,453,173 shares in 2004
                                                                                     29,000     
        authorized: 120,000,000 shares; issued and outstanding: 28,509,600 shares in 2005 and 28,453,173 shares in 2004
                                                                                      29,000    
        related party receivable
                                                                                        185,000  
        prepaids and other current assets
                                                                                        2,660,000 3,070,000 
        convertible preferred stock, 0.001 par value
                                                                                          
        authorized: 37,300,000 shares
                                                                                          
        issued and outstanding: none in 2004 and 34,128,308 shares in 2003
                                                                                          
        authorized: 61,500,000 shares
                                                                                          
        issued and outstanding: 28,332,339 shares in 2004 and 2,307,258 shares in 2003
                                                                                        28,000  
        liabilities, convertible preferred stock and stockholders’ deficit
                                                                                          
        issued and outstanding: 34,128,308 shares in 2004 and in 2003
                                                                                          
        stockholders’ deficit
                                                                                          
        issued and outstanding: 2,623,199 shares in 2004 and 2,307,258 shares in 2003
                                                                                         3,000 
        total liabilities, convertible preferred stock and stockholders’ deficit
                                                                                         56,169,000 
      Cashflow Statements:
      Quarterly
      Annual
        Unit: USD2025-12-31 2025-09-30 2025-06-30 2025-03-31 2024-12-31 2024-09-30 2024-06-30 2024-03-31 2023-12-31 2023-09-30 2023-06-30 2023-03-31 2022-12-31 2022-09-30 2022-06-30 2022-03-31 2021-12-31 2021-09-30 2021-06-30 2021-03-31 2020-12-31 2020-09-30 2020-06-30 2020-03-31 2019-12-31 2019-09-30 2019-06-30 2019-03-31 2018-12-31 2018-09-30 2018-06-30 2018-03-31 2017-12-31 2017-09-30 2017-06-30 2017-03-31 2016-12-31 2016-09-30 2016-06-30 2016-03-31 2015-12-31 2015-09-30 2015-06-30 2015-03-31 2014-12-31 2014-09-30 2014-06-30 2014-03-31 2013-12-31 2013-08-05 2012-08-05 2011-08-05 2010-08-05 2008-08-05 2008-03-31 2007-12-31 2007-08-05 2007-06-30 2007-03-31 2006-12-31 2006-06-30 2006-03-31 2005-12-31 2005-08-05 2005-06-30 2005-03-31 2004-12-31 2004-08-05 2004-06-30 2004-03-31 
                                                                              
          cash flows from operating activities:
                                                                              
          net loss
        -183,031,000 -306,178,000 -134,370,000 -161,376,000 -150,020,000 -160,545,000 -143,318,000 -135,643,000 -136,896,000 -129,422,000 -128,637,000 -131,289,000 -137,380,000 -142,310,000 -19,820,000 -89,445,000 -30,570,000 -76,086,000 -61,554,000 -47,104,000 -43,930,000 -3,175,000 -40,780,000 -39,405,000 -30,640,000 -29,573,000 -32,113,000 -29,366,000 -26,468,000 -22,017,000 -27,523,000 -30,281,000   -29,081,000 -25,867,000   -11,611,000 -12,455,000 -9,229,000 -8,849,000 -10,551,000 -8,872,000 8,443,000          -13,895,000 -13,252,000  -12,629,000 -11,692,000 -15,946,000 -13,785,000 -12,464,000 -11,081,000  -10,540,000 -10,530,000 -11,820,000  -9,231,000 -5,932,000 
          adjustments to reconcile net loss to net cash from operating activities:
                                                                              
          non-cash interest expense on liabilities related to revenue participation right purchase agreement
                                                                              
          stock-based compensation expense
        30,506,000 30,696,000 27,535,000 23,549,000 26,250,000 25,356,000 24,622,000 21,612,000 19,487,000 18,716,000 18,668,000 15,194,000 13,498,000 13,175,000                                                         
          non-cash lease expense
        1,610,000 1,472,000 1,336,000 1,230,000 1,162,000 1,103,000 1,054,000 995,000 942,000 937,000 936,000 935,000 1,083,000 680,000 595,000 227,000 1,954,000                                                      
          loss on disposition of property and equipment
                                                                              
          depreciation of property and equipment
        2,861,000 2,679,000 2,285,000 2,300,000 2,383,000 2,411,000 2,406,000 2,331,000 6,335,000 1,854,000 1,855,000 1,848,000 1,658,000             336,000 280,000 286,000  268,000 618,000 673,000                                       
          change in fair value of derivative liabilities
        -900,000 -700,000 -3,000,000 400,000 -1,200,000 -700,000                                                                 
          change in fair value of liabilities related to rpi transactions
        -13,300,000 2,800,000 14,600,000 -3,900,000 4,600,000 15,200,000                                                                 
          realized gain on investment
        -8,000 -1,000                                                                     
          interest receivable and amortization on investments
        -3,075,000 -2,696,000 -4,032,000 -6,174,000 -7,701,000 -11,091,000 -8,499,000 -5,224,000 -5,101,000 -3,736,000 -3,861,000 -3,037,000 -4,218,000 -2,038,000 542,000 1,004,000 1,454,000 1,424,000 1,083,000 933,000 -792,000 -429,000 -266,000 293,000 -1,004,000 -375,000 -675,000 -533,000 -440,000 -737,000 -596,000 96,000                                       
          non-cash interest expense related to debt
        8,470,000 5,648,000 5,330,000 3,453,000 3,532,000 3,486,000 2,662,000 1,879,000 -13,609,000 7,079,000 6,983,000 6,888,000 1,088,000 1,967,000 1,342,000 1,300,000 1,875,000 1,825,000 1,749,000 1,676,000 1,691,000 1,648,000 1,577,000 1,724,000 112,000 291,000 333,000 183,000                                           
          debt conversion expense
                                                                             
          changes in operating assets and liabilities:
                                                                              
          accounts receivable
        -15,956,000 6,602,000 -6,398,000 14,638,000 -16,406,000 -244,000 834,000 449,000 1,216,000 -1,514,000 21,000 -859,000 2,147,000 -321,000 4,083,000 50,763,000 -51,175,000 2,057,000 1,813,000 -94,000 545,000 -2,711,000 450,000 2,459,000 1,413,000 2,417,000 -4,828,000 -1,934,000 6,925,000 -8,920,000 -199,000 1,075,000 8,888,000 -10,000,000                                  -1,000 -13,000 74,000 
          prepaid and other assets
        -4,197,000 6,277,000 -4,637,000 -376,000 -8,444,000 4,475,000 8,161,000 -6,630,000 8,533,000 342,000 -5,652,000 -1,627,000 1,528,000 -909,000 -6,611,000 -1,422,000 3,863,000 -5,663,000 -8,258,000 2,677,000   -1,109,000 949,000 -2,117,000 -1,479,000 717,000 -983,000 -209,000 -162,000 782,000 1,406,000 147,000 355,000 -1,424,000 -1,239,000 215,000 3,678,000 -3,558,000 -1,042,000 830,000 -211,000 -299,000 -716,000 547,000 205,000 -418,000 -60,000 74,000 684,000 45,000 -1,400,000 394,000 -642,000 291,000 -91,000 121,000 -626,000 121,000 701,000 -727,000 438,000 -159,000 780,000 -198,000 142,000     
          accounts payable
        -309,000 6,598,000 950,000 -4,576,000 5,905,000 1,717,000 -1,811,000 -10,294,000 7,711,000 1,235,000 -4,323,000 -8,106,000 13,048,000 3,406,000 -8,850,000 -3,080,000 3,857,000 -422,000 1,667,000 -4,047,000 1,312,000 3,818,000 -607,000 -4,633,000 4,748,000 -1,782,000 2,647,000 -1,217,000 1,740,000 688,000 -1,087,000 -2,831,000 -5,000 3,350,000 -1,162,000 -726,000 3,032,000 -2,175,000 2,303,000 -1,462,000 139,000 305,000 216,000 95,000 -315,000 657,000 -407,000 -2,113,000 1,759,000 -800,000 -257,000 -143,000 102,000 -586,000 970,000 -1,087,000 -490,000 443,000 -490,000 114,000 753,000 -332,000 171,000 668,000 -517,000 -513,000  -523,000 684,000 -557,000 
          deferred revenue
        268,000                         7,252,000 -4,165,000 -7,841,000 -1,731,000 -870,000 2,434,000 -2,966,000 2,915,000 -3,073,000 11,299,000 -1,929,000 -4,095,000 -4,854,000 -3,574,000 -2,867,000 -1,447,000 28,264,000 -3,648,000 -2,184,000 -5,033,000 -19,817,000   797,000 -534,000 -3,059,000 -3,058,000 -3,058,000 3,876,000 -3,059,000 3,876,000 41,900,000 -700,000 -700,000 -700,000 -700,000 -2,199,000 799,000  -700,000 -700,000 -700,000 
          accrued and other liabilities
        26,368,000 7,617,000 13,985,000 -14,367,000 10,077,000 5,511,000 4,173,000 -5,579,000 32,129,000 4,155,000 -11,426,000 -7,755,000 -351,000 8,638,000 6,079,000 -3,522,000 1,239,000 10,787,000 6,154,000 -3,120,000 1,472,000 4,191,000 2,518,000 -1,064,000 -265,000 1,320,000 -757,000 -2,466,000 46,000 -512,000 -2,664,000 1,067,000 898,000 3,780,000 -4,063,000 151,000 -177,000 7,979,000 1,508,000 -365,000 1,654,000 759,000 2,000,000 -1,418,000 -636,000 -904,000 -765,000 -560,000 -1,639,000 -103,000 404,000                    
          operating lease liabilities
        -4,223,000 -2,150,000 -2,323,000 -2,143,000 -2,025,000 -1,815,000 -1,692,000 -1,712,000 -1,134,000 -78,000 -74,000 -120,000 671,000 1,114,000 522,000 -579,000 10,006,000   9,816,000 -1,235,000 -1,206,000 -1,139,000 -1,112,000 -1,022,000 -1,000,000 -938,000 -916,000                                           
          other non-current liabilities
        -3,528,000 -2,681,000 -1,662,000 1,621,000 237,000 240,000 102,000 -1,935,000 -3,576,000 -2,659,000 -2,645,000 -705,000 -203,000 -197,000 -1,990,000 -1,668,000 -1,826,000                                                      
          net cash from operating activities
        -142,651,000 -107,505,000 -128,236,000 -131,617,000 -65,570,000 -101,500,000 -99,313,000 -129,507,000 -74,037,000 -96,205,000 -121,805,000 -122,286,000 -98,190,000 -84,040,000 -90,475,000 -26,811,000 -44,737,000 -38,770,000 -29,496,000 -29,519,000 52,150,000 14,367,000 -27,439,000 -30,135,000 -19,055,000 -20,268,000 -24,677,000 -26,907,000 -12,327,000 -32,235,000 -26,846,000 -29,807,000 -24,071,000 -25,483,000 -31,261,000 -20,944,000 77,829,000 -12,122,000 -11,218,000 -17,507,000 -9,942,000 -10,347,000 -9,187,000 34,359,000 -8,130,000 -9,515,000 -9,376,000 -17,822,000 -12,429,000 -12,222,000 -8,737,000 -13,178,000 -12,208,000 -17,856,000 -13,822,000 -14,038,000 34,729,000 -13,449,000 34,729,000 -13,172,000 -11,347,000 -10,989,000 -10,091,000 -8,747,000 -12,045,000 -8,601,000  -8,653,000 -7,278,000 -7,020,000 
          capital expenditures
        -5,082,000 -10,096,000 -2,809,000 -4,170,000 1,593,000 -307,000 -1,686,000  -77,000 -220,000 -717,000 71,000 -4,450,000 -9,386,000 2,235,000 887,000 -16,746,000 -13,984,000 -3,297,000 -2,863,000 -6,555,000 -2,592,000 -864,000 -1,041,000 -1,306,000 -1,006,000 -50,000 -257,000 -210,000 -358,000 -60,000 -261,000 -780,000 -451,000 -258,000 -1,388,000 -854,000 -306,000 -16,000 -420,000 -204,000 -53,000 -175,000 -130,000 -247,000 -100,000 -424,000 -333,000 -252,000 -177,000 -13,000 -163,000 -154,000 -188,000 -379,000 -396,000 -1,655,000 -292,000 -1,655,000 -1,635,000 -973,000 -925,000 -206,000 -412,000 -374,000 -473,000  -780,000 -204,000 -128,000 
          free cash flows
        -147,733,000 -117,601,000 -131,045,000 -135,787,000 -63,977,000 -101,807,000 -100,999,000  -74,114,000 -96,425,000 -122,522,000 -122,215,000 -102,640,000 -93,426,000 -88,240,000 -25,924,000 -61,483,000 -52,754,000 -32,793,000 -32,382,000 45,595,000 11,775,000 -28,303,000 -31,176,000 -20,361,000 -21,274,000 -24,727,000 -27,164,000 -12,537,000 -32,593,000 -26,906,000 -30,068,000 -24,851,000 -25,934,000 -31,519,000 -22,332,000 76,975,000 -12,428,000 -11,234,000 -17,927,000 -10,146,000 -10,400,000 -9,362,000 34,229,000 -8,377,000 -9,615,000 -9,800,000 -18,155,000 -12,681,000 -12,399,000 -8,750,000 -13,341,000 -12,362,000 -18,044,000 -14,201,000 -14,434,000 33,074,000 -13,741,000 33,074,000 -14,807,000 -12,320,000 -11,914,000 -10,297,000 -9,159,000 -12,419,000 -9,074,000  -9,433,000 -7,482,000 -7,148,000 
          cash flows from investing activities:
                                                                              
          purchases of investments
        -345,650,000 -335,452,000 -222,966,000 -159,105,000 -121,125,000 -214,401,000 -815,235,000 -142,655,000 -226,115,000 -117,725,000 -201,592,000 -89,779,000 -125,179,000 -467,177,000 -69,910,000 -193,127,000 -31,592,000 -321,589,000 -105,661,000 -66,200,000 -269,278,000 -138,681,000 -17,274,000 -10,592,000 -136,085,000 -41,637,000 -58,866,000 -41,295,000 -51,796,000 -56,220,000 -107,984,000 -24,224,000 -25,956,000 -12,926,000 -68,761,000 -132,770,000 -65,189,000 -9,260,000 -20,563,000 -50,146,000 -20,908,000 -29,003,000 -15,815,000 -49,840,000 -13,799,000 -5,557,000 -32,217,000 -55,470,000 -11,148,000 -7,761,000 -10,747,000 11,255,000 -36,393,000 -9,400,000 -6,400,000 -26,400,000 -13,400,000 -26,400,000 -56,171,000 -35,098,000 -35,800,000 -32,650,000 -25,758,000 -16,618,000 -14,300,000     
          investment in non-marketable equity security
        -5,000,000                                                                   
          maturities of investments
        280,094,000   275,725,000 233,278,000 170,049,000 165,602,000 175,296,000 144,783,000 190,984,000 284,437,000 250,701,000 157,633,000 181,136,000 136,035,000 129,790,000 96,681,000 128,572,000 133,334,000 64,250,000 99,154,000 40,250,000                                                 
          sales of investments
        8,000 1,000       -2,000 4,977,000     3,300,000                                                   
          purchases of property and equipment
        -5,644,000 -9,354,000 -4,145,000 -5,664,000 -1,290,000 -701,000   -77,000 -220,000 -717,000 -402,000 -3,205,000 -6,331,000 -857,000 -942,000 -17,754,000 -15,700,000 -8,792,000 -6,626,000 -6,555,000 -2,592,000 -864,000 -1,041,000 -1,306,000 -1,006,000 -50,000 -257,000 -210,000 -358,000 -60,000 -261,000 -780,000 -451,000 -258,000 -1,388,000 -854,000 -306,000 -16,000 -420,000 -204,000 -53,000 -175,000 -130,000 -247,000 -100,000 -424,000 -333,000 -252,000 -177,000 -13,000 -163,000 -154,000 -188,000 -379,000 -396,000 -1,655,000 -292,000 -1,655,000 -1,635,000 -973,000 -925,000 -206,000 -412,000 -374,000 -473,000 -288,000 -780,000 -204,000 -128,000 
          net cash from investing activities
        -71,192,000 -70,979,000 52,881,000 105,956,000 110,863,000 -45,053,000 -651,548,000 32,641,000 -81,411,000 73,039,000 82,128,000 165,497,000 29,249,000 -292,372,000 65,268,000 -64,279,000 47,335,000 -208,717,000 18,881,000 -5,276,000 -173,618,000 -101,023,000 34,637,000 43,489,000 -105,266,000 13,682,000 -2,767,000 19,644,000 26,508,000 2,677,000   30,763,000 39,658,000 -23,949,000 -112,300,000 -41,970,000 13,971,000 -3,916,000 -20,161,000 25,411,000 11,306,000 11,439,000 -32,093,000 6,304,000 10,067,000 8,440,000 -28,860,000 5,813,000 10,470,000 5,052,000 7,539,000 4,704,000 -83,000 3,812,000 20,866,000 2,931,000 21,050,000 2,931,000 -32,161,000 -18,583,000 34,262,000 5,923,000 9,378,000 8,330,000 10,861,000  11,256,000 -85,774,000 5,217,000 
          cash flows from financing activities:
                                                                              
          repayment of finance lease liabilities
        -2,000 -202,000 -243,000 -236,000 -233,000 -227,000 -222,000 -217,000 -212,000 -207,000 -105,000 -424,000 -267,000 -148,000                                                       
          repayment of term loans
        -2,722,000 -2,709,000 -2,696,000 -2,682,000 -2,671,000 -2,658,000                                                                 
          repayment of convertible debt
                                                                            
          proceeds from issuance of convertible debt
                                                                            
          proceeds from draw on rpi multi tranche loan
                                                                              
          proceeds from issuance of common stock related to at-the-market offering, net of issuance costs
            93,640,000 162,921,000                                                              
          proceeds from issuance of common stock related to public offering, net of issuance costs
                                                                            
          proceeds from issuance of common stock related to private placement, net of issuance costs
                                                                            
          proceeds from issuance of common stock under equity incentive and stock purchase plans
        14,648,000 6,935,000 6,745,000 7,651,000 6,480,000 6,319,000 10,685,000 29,532,000 6,101,000 3,124,000 5,687,000 3,547,000                                                           
          taxes paid related to net share settlement of equity awards
        -1,221,000 -720,000 -514,000 -13,000 -1,182,000 -18,449,000 -10,517,000                                                           
          net cash from financing activities
        110,705,000 330,466,000 78,533,000 4,754,000 2,384,000 3,425,000 821,011,000 103,791,000 168,800,000 54,219,000 5,475,000 -7,177,000 29,885,000 389,019,000 3,416,000 93,846,000 19,506,000 300,895,000 3,175,000 -3,596,000 3,641,000 226,334,000 4,160,000 -11,000 121,120,000 11,859,000 22,396,000 4,416,000 451,000 10,227,000 2,978,000 -524,000 2,194,000 1,434,000 106,557,000 115,734,000 715,000 727,000 589,000 14,861,000 23,645,000 164,000 41,000 65,000 9,134,000 35,000 39,780,000 7,516,000 5,000 2,667,000 16,740,000 2,658,000 -740,000 -1,014,000 1,245,000 27,001,000 -426,000 27,001,000 36,506,000 6,585,000 36,323,000 5,880,000 262,000 -191,000 -505,000  -478,000 101,786,000 -272,000 
          effect of exchange rate changes
               27,000                                                               
          net increase in cash, cash equivalents, and restricted cash
        -102,947,000 152,028,000 2,496,000 -21,177,000 47,969,000 -143,254,000 70,166,000 6,952,000 13,332,000 31,053,000 -34,202,000 36,034,000                                                           
          cash, cash equivalents, and restricted cash, beginning of period
        95,232,000 113,399,000 67,182,000                                                           
          cash, cash equivalents, and restricted cash, end of period
        -102,947,000 152,028,000 2,496,000 74,055,000 47,969,000 -143,254,000 70,166,000 120,351,000 13,332,000 31,053,000 -34,202,000 103,216,000                                                           
          supplemental cash flow disclosures:
                                                                              
          cash paid for interest
        3,040,000 9,621,000 606,000 9,647,000 636,000 14,456,000 672,000 10,206,000 317,000 31,000 9,907,000 40,000 9,610,000 81,000 2,760,000 2,714,000                                                    112,000 104,000 107,000 
          non-cash investing and financing activities:
                                                                              
          right-of-use assets recognized in exchange for operating lease obligations
        -172,000 2,926,000 3,501,000 -28,000 198,000 133,000 178,000     8,592,000                                                          
          amounts unpaid for purchases of property and equipment
        562,000 -742,000 1,336,000 1,494,000 2,883,000 394,000 -1,686,000 1,754,000    473,000 -1,245,000 -3,055,000 3,092,000 1,829,000 1,008,000 1,716,000 5,495,000 3,763,000                                                   
          issuance of common stock in connection with repurchase of convertible note
                                                                            
          non-cash interest expense on liabilities related to revenue participation right purchase agreements
         14,995,000 13,207,000 14,104,000  13,396,000 11,593,000 10,244,000  6,886,000 6,349,000 6,313,000  8,994,000 7,031,000 6,592,000                                                       
          proceeds from rpi transactions
                                                                           
          effect of exchange rate changes on cash
         46,000 -682,000 -270,000  -126,000                                                                 
          maturities and paydown of investments
                                                                              
          loss on extinguishment of debt
                    2,693,000                                                       
          loss on inducement of convertible debt
                                                                             
          debt extinguishment costs
                    -2,409,000                                                       
          cash settlement of capped call options associated with 2026 notes
                                                                              
          right-of-use assets recognized in exchange for finance lease obligations
                    352,000 703,000                                                       
          repayment of term loan
               -705,000     -47,651,000                                                       
          impairment of right-of-use assets
                                                                              
          proceeds from public offerings of common stock, net of discounts, commissions and offering cost
                                                                            
          proceeds from private placement
                                                                             
          proceeds from 2022 rpi transactions
                                                                             
          loss on investments
                 1,000 34,000                                                           
          loss on investment
                                                                              
          claims settlement under section 16
                            2,151,000                                               
          net increase in cash, cash equivalents, and restricted cash equivalents
                                                                              
          cash, cash equivalents, and restricted cash equivalents, beginning of period
                                                                              
          cash, cash equivalents, and restricted cash equivalents, end of period
                                                                              
          proceeds from 2020 rpi transactions
                     149,581,000                                                       
          proceeds from and payments for stock-based award activities
                     6,187,000 3,683,000 -5,527,000  3,990,000                                                     
          net increase in cash and cash equivalents
                       2,756,000 22,104,000 53,408,000 -7,440,000 -38,391,000 -117,827,000 139,678,000 11,358,000 13,343,000     14,632,000 -19,331,000   8,886,000 15,609,000   36,574,000 2,576,000 -14,545,000 -22,807,000 39,114,000 1,123,000 2,293,000 2,331,000 7,308,000 552,000   900,000 -1,747,000 -1,018,000 11,101,000 -4,846,000 -18,679,000 -11,024,000 8,073,000 64,661,000 7,175,000 64,661,000 -8,827,000 -23,345,000 59,596,000 1,712,000 893,000 -3,906,000 1,755,000     
          cash and cash equivalents, beginning of period
                     112,666,000 82,985,000 36,433,000 42,256,000 125,206,000 66,874,000 65,076,000 20,215,000 20,158,000 14,907,000 18,833,000 -8,047,000 25,561,000 116,564,000 39,387,000 39,387,000 13,515,000 13,061,000 -713,000 10,991,000 
          cash and cash equivalents, end of period
                     12,607,000 -21,791,000 115,422,000 22,104,000 53,408,000 -7,440,000 44,594,000 -117,827,000 139,678,000 11,358,000 49,776,000 -3,201,000 5,273,000 -5,048,000 39,409,000 14,632,000 -19,331,000 -68,056,000 115,011,000 8,886,000 15,609,000 51,347,000 49,364,000 36,574,000 2,576,000 -14,545,000 42,269,000 39,114,000 1,123,000 2,293,000 22,546,000 7,308,000 552,000 -901,000 13,256,000 900,000 13,160,000 17,815,000 3,054,000 20,715,000 -18,679,000 105,540,000 8,073,000 104,048,000 7,175,000 104,048,000 -8,827,000 -23,345,000 73,111,000 1,712,000 893,000 -3,906,000 14,816,000 -6,714,000 2,125,000 8,734,000 8,916,000 
          depreciation and amortization of property and equipment
                      1,407,000 1,341,000 734,000 462,000 543,000 537,000 471,000 536,000 416,000 408,000           439,000 421,000 224,000 177,000 170,000 170,000 151,000 146,000 147,000 145,000 137,000 126,000 122,000 105,000 88,000 124,000 178,000 324,000 489,000 635,000 639,000 659,000 755,000 745,000 755,000 706,000 744,000 751,000 743,000 760,000 771,000 788,000     
          net decrease in cash and cash equivalents
                                -3,201,000 5,273,000 -5,048,000 -2,847,000    -10,195,000    -17,510,000            -6,902,000                       
          non-cash stock-based compensation expense
                       8,985,000 6,711,000 7,767,000 7,093,000 5,261,000 4,877,000 4,692,000 4,527,000 3,524,000                                               
          gain on investment
                                                                              
          contract assets
                                575,000 1,897,000 2,082,000 -8,383,000 4,499,000 5,826,000 3,212,000                                       
          proceeds from stock-based award activities
                           -3,596,000 2,132,000                                                  
          net proceeds from long-term debt, net of debt discount and issuance costs
                                                                              
          net proceeds from convertible notes, net of debt discount and issuance costs
                                                                              
          issuance of common stock under at-the-market offering, net of issuance costs
                                                                              
          purchase of capped call options associated with convertible notes
                                                                              
          non-cash interest expense on liability related to sale of future royalties
                         2,985,000 2,900,000 2,822,000 5,673,000 5,481,000 5,932,000 5,706,000 5,533,000 5,321,000 5,064,000 4,819,000 4,741,000 4,559,000 4,338,000 4,129,000 4,074,000 3,918,000 3,729,000 2,307,000                                   
          right-of-use assets recognized in exchange for lease obligations
                         5,321,000 77,887,000 1,106,000                                             
          operating lease right-of-use assets
                          2,002,000 1,124,000   1,042,000 1,016,000 921,000 898,000 877,000 856,000                                           
          operating lease and other non-current liabilities
                                                                              
          prepaid and other current assets
                            -2,477,000                                                  
          operating lease right-of-use assets and other assets
                            -1,884,000                                                  
          contract liabilities
                                    -8,132,000 -1,416,000 -9,202,000                                       
          sales of property and equipment
                                                                              
          proceeds from issuance under employee stock purchase plan
                                                                              
          net proceeds from long-term debt, net of debt discount and issuance cost
                                                                             
          proceeds from stock based award activities
                                 459,000                                             
          sales and maturities of investments
                               55,122,000 32,125,000 56,325,000 56,149,000 61,196,000 78,500,000 59,255,000 63,856,000 44,621,000                                       
          proceeds from and payments for stock based award activities
                               -2,162,000                                               
          issuance of common stock under at the market offering, net of issuance costs
                                11,400,000                                             
          issuance of warrants in connection with long-term debt
                                                                            
          non-cash equity-related expense
                                 2,783,000 2,819,000 2,282,000  2,572,000 2,505,000 2,403,000                                       
          supplemental cash flow disclosure - non-cash investing and financing activity:
                                                                              
          public offerings of common stock, net of issuance costs
                                   5,117,000                                           
          proceeds from common stock award exercise
                                   31,000                                           
          issuance of equity for stock-based awards and warrants
                                   -732,000  329,000 2,978,000 -524,000                                       
          right-of-use assets obtained in exchange for lease obligations
                                   10,686,000                                           
          stock-based compensation
                                         2,447,000 2,219,000 1,922,000 1,880,000 1,866,000 1,789,000 1,611,000 1,348,000 1,121,000 1,202,000 896,000 886,000 891,000 859,000 694,000 656,000 966,000 943,000 498,000 994,000 1,346,000 1,527,000 1,391,000 1,160,000 1,476,000 1,160,000 1,077,000 1,417,000 938,000 336,000 343,000 346,000 402,000 419,000 553,000 515,000 389,000 
          net gain on disposal of equipment
                                                                              
          non-cash interest expense related to long-term debt
                                      411,000 177,000 217,000 140,000 139,000 139,000                                   
          proceeds from public offerings of common stock, net of issuance costs
                                        -8,000 94,877,000 17,355,000         9,102,000 39,869,000                       
          proceeds from sale of future royalties, net of issuance costs
                                        90,621,000                                   
          proceeds from issuance of common stock related to sale of future royalties, net of issuance costs
                                        7,560,000                                   
          proceeds from stock based award activities and warrants
                                        933,000 1,442,000 11,680,000 198,000 715,000 727,000 589,000 -135,000  164,000 41,000 65,000                           
          supplemental disclosure of cash flow information
                                                                              
          cash paid for taxes
                                                                              
          loss on disposal of equipment
                                                                              
          sale of future royalties, net of issuance costs
                                                                              
          issuance of common stock related to sale of future royalties, net of issuance costs
                                                                              
          issuance of long term debt, net of debt discount and issuance costs
                                                                              
          net cash from in investing activities
                                       20,136,000                                       
          net income
                                        -40,485,000    8,632,000          -8,374,000 -8,744,000 6,531,000 -12,619,000 -9,928,000 -13,155,000 -12,189,000    -11,692,000              
          adjustments to reconcile net income to net cash from (used in) operating activities:
                                                                              
          non-cash stock-based compensation
                                                                              
          gain on sale of investments
                                                -2,000                            
          net proceeds from long term debt, net of debt discount and issuance costs
                                                                              
          adjustments to reconcile net income to net cash from operating activities:
                                                                              
          proceeds from sales and maturities of investments
                                         53,035,000 45,070,000 21,858,000 24,073,000 23,536,000 16,631,000 30,405,000 46,522,000 40,362,000 27,429,000 17,877,000 20,350,000 15,724,000 41,081,000 26,943,000 17,203,000 18,408,000 15,667,000 -3,464,000 40,810,000 5,000 12,571,000 27,662,000 31,077,000 34,643,000 31,077,000 26,442,000 18,062,000 70,361,000 38,744,000 35,239,000 25,322,000 24,690,000 31,837,000 43,775,000 43,273,000 5,345,000 
          proceeds from sale of property and equipment
                                             1,000                               
          proceeds from long term debt, net of debt discount and issuance costs
                                            14,996,000                               
          gain on disposal of equipment
                                          -82,000                                   
          related party accounts receivable
                                           -885,000 66,976,000 -66,974,000 -26,000 12,000 36,000 -43,000 965,000 45,676,000    -2,111,000  -324,000 -69,000 -150,000 169,000 -4,000 29,000 27,000 41,938,000 68,000 41,938,000 -42,026,000 -23,000 526,000 387,000 -774,000 -79,000 -78,000    -15,000 
          non-cash interest expense
                                            139,000 138,000 138,000 119,000              23,000 23,000 23,000 23,000 23,000 23,000 23,000 23,000 23,000 23,000 23,000 23,000 23,000 23,000 23,000 23,000 23,000 
          proceeds from sales of property and equipment
                                                        10,000                      
          loss on disposal of property and equipment
                                                                3,000 1,000 3,000            
          gain on disposal of property and equipment
                                                                              
          amortization of debt discount
                                                                              
          related party payables and accrued liabilities
                                                        -150,000 -12,000 1,000 10,000   -14,000 -49,000 -39,000 -49,000 -52,000 -122,000 -259,000         
          payments from stock based award activities and warrants
                                                    32,000                          
          non-cash restructuring expenses, net of reversals
                                                          -41,000                    
          decrease in restricted cash
                                                              1,020,000  -91,000 -830,000 -554,000 626,000 -236,000  844,000     
          proceeds from draw down of committed equity financing facilities and at-the-market facility, net of commission and issuance costs
                                                          2,819,000                    
          proceeds from issuance of preferred stock, net of issuance costs
                                                                              
          repayment of equipment financing lines
                                                          -152,000 -72,000 -424,000 -1,049,000 -1,036,000 -1,023,000 -885,000 -971,000 -885,000 -794,000 -678,000 -666,000 -632,000 -602,000 -595,000 -581,000     
          accounts receivable and related party accounts receivable
                                                     -871,000                         
          license fee receivable
                                                                              
          proceeds (payments) from stock based award activities and warrants
                                                                              
          proceeds (payments) from stock based award activities, and warrants
                                                       -89,000                       
          (gain) loss on disposal of equipment
                                                                              
          proceeds from initial public offering, sale of common stock to related party, and public offerings, net of issuance costs
                                                                             
          proceeds from other issuances of common stock and warrants
                                                        7,516,000 5,000                     
          non-cash impairment charges
                                                                              
          non-cash forgiveness of loans to officers
                                                                              
          non-cash warrant expense
                                                                              
          other non-cash expenses
                                                                             
          proceeds from sales of auction rate securities
                                                                              
          issuance of related party notes receivable
                                                                              
          proceeds from repayments of notes receivable
                                                                              
          repurchase of common stock
                                                                     -2,000 -1,000 -22,000 -2,000    
          proceeds from loan with ubs
                                                                              
          repayment of loan with ubs
                                                            -328,000                  
          proceeds from equipment financing lines
                                                               -1,000 1,743,000 1,743,000 1,659,000   472,000        
          non-cash forgiveness of loan to officers
                                                                              
          tax benefit from stock-based compensation
                                                                              
          tax expense from stock-based compensation
                                                                              
          increase in restricted cash
                                                          145,000 -92,000 441,000    -91,000              
          proceeds from other issuances of common stock and warrants, net of issuance costs
                                                                              
          accrued liabilities
                                                           47,000 -1,643,000 -201,000 -348,000 1,251,000 -916,000 136,000 -916,000 235,000 1,070,000 90,000 -133,000 303,000 232,000 117,000     
          proceeds from draw down of committed equity financing and at-the-market facility, net of issuance costs
                                                                              
          non-cash forgiveness of loan to officer
                                                               104,000    105,000           
          proceeds from draw down of committed equity financing facility, net of issuance costs
                                                            3,370,000   1,766,000               
          proceeds from other issuances of common stock
                                                            40,000 309,000 22,000 493,000 141,000 545,000 141,000 717,000 511,000 52,000 493,000 58,000 405,000 98,000     
          non-cash restructuring expenses
                                                                              
          proceeds from initial public offering, sale of common stock to related party and public offerings, net of issuance costs
                                                                              
          allowance for doubtful accounts
                                                                              
          non-cash expense related to warrants issued for equipment financing lines and facility lease
                                                                              
          proceeds from payments of related party notes receivable
                                                                       89,000 100,000     
          proceeds from initial public offering, net of issuance costs
                                                                              
          proceeds from sale of common stock to related party, net of issuance costs
                                                                26,009,000 26,009,000            
          proceeds from public offerings, net of issuance costs
                                                                -7,000 -7,000            
          non-cash expense for acceleration of options
                                                                              
          proceeds from payments of notes receivable
                                                                              
          non-cash compensation expense for acceleration of options
                                                                              
          proceeds from sale of common stock to related party
                                                                              
          proceeds from registered direct offering, net of issuance costs
                                                                    31,993,000         
          proceeds from draw down of committed equity financing facility
                                                                    5,645,000 4,944,000         
          unrealized loss on investment
                                                                              
          related party accrued liabilities
                                                                       -54,000 116,000 249,000     
          operating activities
                                                                              
          depreciation and amortization
                                                                           827,000 815,000 819,000 
          gain or loss on sale of property and equipment
                                                                              
          non-cash proceeds from sale of property and equipment
                                                                              
          related party receivable
                                                                           17,000   
          prepaids and other current assets
                                                                              
          other assets
                                                                           -12,000 -9,000 -9,000 
          investing activities
                                                                              
          investment in restricted cash
                                                                             
          issuance of notes receivable
                                                                              
          purchases of short-term and long-term investments
                                                                           -31,739,000   
          financing activities
                                                                              
          repayment of equipment loan
                                                                           -503,000   
          proceeds from issuance of common stock
                                                                           34,000 101,068,000 220,000 
          proceeds from issuance of preferred stock
                                                                              
          additional equipment loan taken
                                                                             
          increase in cash and cash equivalents
                                                                           2,125,000   
          supplemental disclosure of cash flow information:
                                                                              
          supplemental disclosure of significant non-cash investing and financing activities:
                                                                              
          deferred stock-based compensation
                                                                           688,000 1,650,000 
          penalty on restructuring
                                                                              
          gain or loss on sale of fixed assets
                                                                              
          non-cash proceeds from sale of fixed assets
                                                                              
          non-cash expense related to warrants issued for equipment
                                                                              
          financing lines and facility lease
                                                                              
          prepaid expenses and other assets
                                                                            387,000 -1,468,000 
          accruals and other liabilities
                                                                            943,000 347,000 
          related party accruals
                                                                              
          proceeds from sale of fixed assets
                                                                              
          repurchase of common stock previously subject to repurchase
                                                                              
          loss on disposal of fixed assets
                                                                             9,000 
          proceeds from sale of equipment
                                                                              
          repayment of equipment lines
                                                                             -492,000 
          proceeds from equipment lines
                                                                              
          decrease in cash and cash equivalents
                                                                             -2,075,000