7Baggers

Ardelyx, Inc
(NASDAQ:ARDX) 

ARDX stock logo

Ardelyx, Inc., a biopharmaceutical company, develops and sells medicines for the treatment of kidney and cardiorenal diseases in the United States and internationally. The company's lead product candidate is tenapanor, which has completed Phase 3 clinical trial for the treatment of patients with irr...

Founded: 2007
Full Time Employees: 88
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: USD2026-03-31 2025-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 
                                                    
      revenues
                                                    
      product sales
    93,373,000 114,402,000 105,515,000 90,077,000 67,814,000 111,003,000 92,090,000 72,591,000 43,512,000 30,577,000 22,285,000 18,309,000 11,355,000 8,701,000 4,885,000 1,564,000 450,000                                
      product supply revenue
    354,000 9,440,000  6,185,000 254,000 4,188,000 5,322,000 13,000 2,126,000 767,000 2,092,000 3,260,000 2,000 469,000 92,000 952,000 14,000 496,000 285,000  126,000                            
      licensing revenue
    51,000 23,000 25,000 20,000 5,020,000 22,000 20,000 19,000 17,000 3,019,000 32,014,000 764,000 12,000 35,008,000 9,000 10,000 4,000 6,000 2,000 3,000 5,002,000   706,000  1,500,000 3,000,000      2,320,000           17,727,000 3,884,000 3,885,000 4,767,000 6,507,000 
      non-cash royalty revenue related to the sale of future royalties
    695,000 1,350,000 4,789,000 1,380,000 1,026,000 916,000 809,000 599,000 368,000                                        
      total revenues
    94,473,000 125,215,000 110,329,000 97,662,000 74,114,000 116,129,000 98,241,000 73,222,000 46,023,000 34,363,000 56,391,000 22,333,000 11,369,000 44,178,000 4,986,000 2,526,000 468,000 1,029,000 1,173,000 1,313,000 6,582,000 1,809,000 2,713,000 1,836,000 1,213,000 2,250,000 3,013,000 18,000  85,000 172,000 30,000                 
      yoy
    27.47% 7.82% 12.30% 33.38% 61.04% 237.95% 74.21% 227.86% 304.81% -22.22% 1030.99% 784.13% 2329.27% 4193.29% 325.06% 92.38% -92.89% -43.12% -56.76% -28.49% 442.62% -19.60% -9.96% 10100.00%  2547.06% 1651.74% -40.00%                     
      qoq
    -24.55% 13.49% 12.97% 31.77% -36.18% 18.21% 34.17% 59.10% 33.93% -39.06% 152.50% 96.44% -74.27% 786.04% 97.39% 439.74% -54.52% -12.28% -10.66% -80.05% 263.85% -33.32% 47.77% 51.36% -46.09% -25.32% 16638.89%   -50.58% 473.33%                  
      costs and operating expenses
                                                    
      cost of sales
    4,811,000         377,000 644,000 492,000                                     
      research and development
    20,188,000 22,856,000 18,067,000 15,666,000 14,938,000 13,666,000 15,310,000 12,762,000 10,579,000 9,524,000 8,637,000 8,282,000 9,093,000 9,142,000 7,467,000 9,741,000 8,851,000 20,968,000 23,695,000 26,021,000 20,456,000 18,105,000 12,240,000 18,864,000 15,844,000 14,241,000 17,580,000 19,475,000 20,381,000 22,036,000 17,941,000 16,046,000 13,350,000 17,159,000 15,365,000 20,572,000 22,387,000 26,210,000 24,863,000 23,838,000 19,250,000 12,784,000 14,705,000 6,198,000 6,198,000 7,386,000 5,694,000 5,183,000 
      selling, general and administrative
    102,267,000 86,411,000 83,612,000 83,988,000 83,222,000 76,074,000 64,970,000 64,654,000 52,994,000 47,748,000 32,664,000 27,186,000 26,803,000 19,731,000 18,667,000 18,862,000 19,339,000                                
      total costs and operating expenses
    127,266,000                                                
      income from operations
    -32,793,000 5,099,000 4,668,000 -14,395,000 -36,349,000 8,125,000 2,233,000 -13,630,000 -24,678,000 -27,986,000 7,398,000 -16,624,000 -26,064,000 12,143,000 -21,880,000 -26,215,000 -27,807,000 -35,273,000 -42,236,000 -44,832,000 -32,005,000 -27,643,000 -17,161,000 -24,207,000 -21,769,000 -18,848,000 -22,089,000 -24,828,000 -25,498,000 -27,376,000 -23,732,000 -22,154,000 -17,685,000 10,962,000 -21,225,000 -26,418,000 -28,434,000 -31,475,000 -29,200,000 -28,690,000 -23,529,000 -16,876,000 -18,079,000 9,056,000 -3,490,000 -3,933,000 81,000 2,751,000 
      yoy
    -9.78% -37.24% 109.05% 5.61% 47.29% -129.03% -69.82% -18.01% -5.32% -330.47% -133.81% -36.59% -6.27% -134.43% -48.20% -41.53% -13.12% 27.60% 146.12% 85.20% 47.02% 46.66% -22.31% -2.50% -14.62% -31.15% -6.92% 12.07% 44.18% -349.74% 11.81% -16.14% -37.80% -134.83% -27.31% -7.92% 20.85% 86.51% 61.51% -416.81% 574.18% 329.09% -22419.75% 229.19%     
      qoq
    -743.13% 9.23% -132.43% -60.40% -547.37% 263.86% -116.38% -44.77% -11.82% -478.29% -144.50% -36.22% -314.64% -155.50% -16.54% -5.73% -21.17% -16.49% -5.79% 40.08% 15.78% 61.08% -29.11% 11.20% 15.50% -14.67% -11.03% -2.63% -6.86% 15.35% 7.12% 25.27% -261.33% -151.65% -19.66% -7.09% -9.66% 7.79% 1.78% 21.93% 39.42% -6.65% -299.64% -359.48% -11.26% -4955.56% -97.06%  
      operating margin %
    -34.71% 4.07% 4.23% -14.74% -49.04% 7.00% 2.27% -18.61% -53.62% -81.44% 13.12% -74.44% -229.25% 27.49% -438.83% -1037.81% -5941.67% -3427.89% -3600.68% -3414.47% -486.25% -1528.08% -632.55% -1318.46% -1794.64% -837.69% -733.12% -137933.33% -Infinity% -32207.06% -13797.67% -73846.67% -Infinity% Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% Infinity% -Infinity% -Infinity% Infinity% Infinity% 
      interest expense
    -5,599,000 -5,759,000 -5,796,000 -4,356,000 -4,191,000 -3,967,000 -3,357,000 -3,326,000 -2,356,000 -1,740,000 -1,107,000 -1,075,000 -1,028,000 -991,000 -886,000 -787,000 -746,000 -984,000 -1,216,000 -1,202,000 -1,100,000 -1,314,000 -1,202,000 -1,226,000 -1,357,000 -1,398,000 -1,443,000 -1,451,000 -1,434,000                    
      non-cash interest expense related to the sale of future royalties
    -1,317,000 -1,818,000 -2,188,000 -2,219,000 -2,071,000 -1,886,000 -1,924,000 -1,576,000 -1,702,000 -1,065,000 -922,000 -968,000 -969,000 -832,000 -831,000                                  
      other income
    2,112,000 2,078,000 2,449,000 1,892,000 2,326,000 2,408,000 2,282,000 2,145,000 2,339,000 2,322,000 1,460,000 1,546,000 1,302,000 375,000 704,000 70,000 484,000 23,000 -134,000 847,000 -49,000 83,000 255,000 477,000 753,000 456,000 294,000 812,000 790,000 3,046,000 -394,000 -135,000 670,000 331,000 501,000 697,000 426,000 201,000 169,000 77,000 62,000        
      income before provision for income taxes
    -37,597,000 -400,000 -867,000 -19,078,000 -40,285,000 4,680,000 -766,000 -16,387,000 -26,397,000 -28,469,000 6,829,000 -17,121,000 -26,759,000 10,695,000 -22,893,000 -26,932,000 -28,069,000 -36,234,000 -43,586,000 -45,187,000 -33,154,000 -28,874,000 -18,108,000 -24,956,000 -22,373,000 -19,790,000 -23,238,000 -25,467,000 -26,142,000 -27,864,000 -24,126,000 -22,289,000 -17,015,000 11,293,000 -20,724,000 -25,721,000 -28,008,000 -31,274,000 -29,031,000 -28,613,000 -23,467,000 -16,999,000 -18,156,000 9,007,000 -3,502,000 -3,904,000 74,000 3,753,000 
      provision for income taxes
    8,000 7,000 102,000 1,000 859,000 35,000 43,000 67,000 121,000 333,000 200,000  14,000   6,000 2,000  1,000 2,000 1,000      301,000  2,000 -2,000  2,000 4,000                
      net income
    -37,605,000 -407,000 -969,000 -19,079,000 -41,144,000 4,645,000 -809,000 -16,454,000 -26,518,000 -28,802,000 6,629,000 -17,121,000 -26,773,000 10,695,000 -22,893,000 -26,938,000 -28,071,000 -36,234,000 -43,587,000 -45,189,000 -33,155,000 -28,876,000 -18,108,000 -24,956,000 -22,373,000 -19,790,000 -23,539,000 -25,467,000 -26,144,000 -27,862,000 -24,126,000 -22,291,000 -17,019,000 10,114,000 -20,724,000 -25,721,000 -28,008,000 -31,274,000 -29,031,000          
      yoy
    -8.60% -108.76% 19.78% 15.95% 55.15% -116.13% -112.20% -3.90% -0.95% -369.30% -128.96% -36.44% -4.62% -129.52% -47.48% -40.39% -15.33% 25.48% 140.71% 81.07% 48.19% 45.91% -23.07% -2.01% -14.42% -28.97% -2.43% 14.25% 53.62% -375.48% 16.42% -13.34% -39.24% -132.34% -28.61%              
      qoq
    9139.56% -58.00% -94.92% -53.63% -985.77% -674.17% -95.08% -37.95% -7.93% -534.48% -138.72% -36.05% -350.33% -146.72% -15.02% -4.04% -22.53% -16.87% -3.55% 36.30% 14.82% 59.47% -27.44% 11.55% 13.05% -15.93% -7.57% -2.59% -6.17% 15.49% 8.23% 30.98% -268.27% -148.80% -19.43% -8.17% -10.44% 7.73%           
      net income margin %
    -39.81% -0.33% -0.88% -19.54% -55.51% 4.00% -0.82% -22.47% -57.62% -83.82% 11.76% -76.66% -235.49% 24.21% -459.15% -1066.43% -5998.08% -3521.28% -3715.86% -3441.66% -503.72% -1596.24% -667.45% -1359.26% -1844.44% -879.56% -781.25% -141483.33% -Infinity% -32778.82% -14026.74% -74303.33% -Infinity% Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% NaN% NaN% NaN% NaN% NaN% NaN% NaN% NaN% NaN% 
      net income per share
    -0.15 -0.01  -0.08 -0.17 0.02  -0.07 -0.11 -0.13 0.03 -0.08 -0.13                                    
      shares used in computing net loss per share - basic and diluted
    245,855,082 868,006 241,908,407 239,928,570 238,624,145   234,571,192 233,065,960   214,951,127 207,023,127 11,370,265 165,104,789 145,544,372 130,934,795 3,725,489 104,144,606 100,040,083 97,179,241 472,366 89,365,798 89,080,046 88,880,658 1,801,475 62,828,513 62,651,863 62,546,295 2,015,012 62,071,397 52,824,483 47,559,366                
      comprehensive loss
    -37,927 -333 -807 -19,135 -41,183   -16,535 -26,762   -17,311 -26,739 10,755 -22,898 -26,959 -28,153 -36,243 -43,588 -45,178 -33,158 -28,970 -18,335 -24,595 -22,437 -19,774 -23,551 -25,463 -26,094 -27,883 -24,107 -22,236 -17,063 10,077 -20,694              
      unrealized losses on available-for-sale securities
    -322   -56 -39   -81    -190    -21 -82                                
      cost of goods sold
                                                    
      cost of product sales
     2,061,750 2,662,000 3,245,000 2,340,000 2,718,000 1,715,000 1,405,000 1,013,000                                        
      other cost of revenue
     5,110,250 1,320,000 9,158,000 9,963,000 15,546,000 14,013,000 8,031,000 6,115,000 4,262,000 7,048,000 2,997,000                                     
      total cost of goods sold
     7,172,000 3,982,000 12,403,000 12,303,000 18,264,000 15,728,000 9,436,000 7,128,000 5,077,000 7,692,000 3,489,000                                     
      operating expenses
                                                    
      total operating expenses
     74,873,250 101,679,000 99,654,000 98,160,000 89,740,000 80,280,000 77,416,000 63,573,000 57,272,000 41,301,000 35,468,000 37,433,000 32,035,000 26,866,000 28,741,000 28,275,000 36,302,000 43,409,000 46,145,000 38,587,000 29,452,000 19,874,000 26,043,000 22,982,000 21,098,000 24,502,000 24,846,000 25,498,000 27,461,000 23,902,000 22,184,000 19,541,000 22,638,000 21,225,000 26,418,000 28,434,000 31,475,000 29,200,000 28,690,000 23,529,000 16,876,000 18,079,000 9,087,000 9,373,000 10,272,000 7,517,000 6,386,000 
      unrealized gains on available-for-sale securities
     74 162   -128 286  -244 425  34 -27 -5   -9 -1 11 -3 -94 -227 361 -64                        
      revenues:
                                                    
      cost of goods sold:
                                                    
      operating expenses:
                                                    
      shares used in computing net income per share - basic
         58,629,076.25 235,911,399   53,744,138.75 222,782,229                                      
      shares used in computing net income per share - diluted
         58,629,076.25 235,911,399   53,744,138.75 227,894,335                                      
      comprehensive income:
                                                    
      comprehensive income
         -10,955 -523   -9,353 6,638                                      
      comprehensive loss:
                                                    
      cost of revenue
                1,537,000 3,162,000 732,000 138,000 85,000    1,000,000 4,000  141,000   600,000    2,000  464,000                
      collaborative development revenue
                     527,000 886,000 1,310,000 1,454,000 1,708,000 1,356,000 1,125,000 1,175,000                   416,000 1,999,000 2,454,000 2,831,000 2,630,000 
      net loss per common share, basic and diluted
                 -132.5 -140 -190 -210   -450 -340 -320 -200 -280 -250 -270 -370 -410 -420 -450 -390 -420 -360   -540 -590 -650 -650  -700        
      general and administrative
                     15,334,000 19,714,000 20,124,000 17,131,000 11,343,000 7,634,000 7,038,000 7,138,000 6,857,000 6,922,000 5,371,000 5,117,000 5,425,000 5,961,000 6,138,000 6,191,000 5,479,000 5,860,000 5,846,000 6,047,000 5,265,000 4,337,000 4,852,000 4,279,000 4,092,000 3,374,000 2,889,000 3,175,000 2,886,000 1,823,000 1,203,000 
      net loss per common share - basic and diluted
                     -302.5 -420                              
      other revenue
                         350,000 1,357,000 5,000 38,000 291,000 13,000 18,000  85,000 172,000 30,000                 
      gross profit
                             2,250,000 2,413,000 18,000  85,000 170,000 30,000 1,856,000                
      yoy
                             2547.06% 1319.41% -40.00% NaN%                    
      qoq
                             -6.76% 13305.56% NaN% NaN% -50.00% 466.67% -98.38%                 
      gross margin %
    0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 0% 100.00% 80.09% 100.00% NaN% 100.00% 98.84% 100.00% Infinity% NaN% NaN% NaN% NaN% NaN% NaN% NaN% NaN% NaN% NaN% NaN% NaN% NaN% NaN% NaN% 
      unrealized gain on available-for-sale securities, net of tax
                             10.5 -12 50 -21 19 55 -44 -37 30              
      revenue:
                                                    
      net loss per common share – basic and diluted
                                     -392.5 -440              
      shares used in computing net loss per share – basic and diluted
                                     11,851,009.75 47,464,310              
      weighted-average number of common shares used in computing net loss per share, basic and diluted
                                       47,403,243             
      weighted-average number of common shares used in computing basic net loss per share, basic and diluted
                                        47,343,234            
      total revenue
                                               18,143,000 5,883,000 6,339,000 7,598,000 9,137,000 
      shares used in computing basic net loss per share, basic and diluted
                                         9,426,511.25 44,935,126          
      net income and comprehensive income
                                           -28,613,000  -3,155,250 -18,126,000 9,007,000  189,250 74,000 3,753,000 
      basic net income per common share
                                           -830         
      diluted net income per common share
                                           -830         
      shares used in computing basic net income per share
                                           34,636,559    20,880,235     
      shares used in computing diluted net income per share
                                           34,636,559    21,636,487     
      net loss and comprehensive loss
                                            -23,467,000    -3,502,000    
      shares used to compute net loss per common share, basic and diluted
                                            33,466,955,000        
      other expense
                                             -34,500 -77,000 -49,000 -12,000 -4,750 -7,000 -8,000 
      change in fair value of preferred stock warrant liability
                                                   1,010,000 
      benefit from income taxes
                                             -1,000 30,000      
      basic net income per share attributable to common stockholders
                                             -0.145 -0.7      
      diluted net income per share attributable to common stockholders
                                             -0.145 -0.7      
      shares used in computing basic net income per share attributable to common stockholders
                                             5,464,845.75 25,930,928      
      shares used in computing diluted net income per share attributable to common stockholders
                                             5,464,845.75 25,930,928      
      basic net income per share
                                               0.43     
      diluted net income per share
                                               0.42     
      basic net loss per share
                                                -0.19    
      diluted net loss per share
                                                -0.19    
      shares used in computing basic net loss per share
                                                18,606,760    
      shares used in computing diluted net loss per share
                                                18,606,760    
      net income attributable to common stockholders:
                                                    
      basic
                                                  74,000 515,000 
      diluted
                                                  74,000 703,000 
      shares used to compute net income per share attributable to common stockholders:
                                                    
      basic
                                                 1,869,160.5 18,374,277 2,611,259 
      diluted
                                                 1,869,160.5 19,133,217 3,904,136 
      net income per share
    -0.15 -0.01  -0.08 -0.17 0.02  -0.07 -0.11 -0.13 0.03 -0.08 -0.13                                    
      basic
                                                   0.2 
      diluted
                                                   0.18 
                                                    
    Balance Sheets:
    Quarterly
    Annual
      Unit: USD2026-03-31 2025-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 
                                                      
        assets
                                                      
        current assets
                                                      
        cash and cash equivalents
      31,209,000 67,999,000 42,715,000 90,045,000 30,808,000 64,932,000 47,429,000 41,890,000 36,147,000 21,470,000 33,767,000 30,058,000 92,487,000 96,140,000 61,628,000 53,408,000 47,077,000 72,428,000 75,288,000 86,745,000 84,070,000 91,032,000 91,009,000 100,494,000 105,895,000 181,133,000 92,673,000 89,626,000 92,036,000 78,768,000 75,015,000 91,751,000 67,745,000 75,383,000 59,454,000 63,636,000 71,213,000 74,598,000 160,360,000 146,669,000 171,678,000 107,004,000 129,047,000 141,534,000 98,318,000 107,286,000 112,044,000 117,814,000 
        short-term investments
      206,865,000 196,690,000 199,990,000 148,407,000 183,144,000 185,168,000 142,973,000 144,071,000 166,431,000 162,829,000 131,313,000 97,521,000 37,886,000 27,769,000 28,995,000 27,604,000 42,627,000 44,261,000 66,363,000 85,064,000 94,142,000 95,452,000 94,488,000 104,347,000 117,312,000 66,379,000 10,870,000 34,315,000 59,524,000 89,321,000 111,391,000 120,980,000 59,704,000 58,593,000 69,834,000 85,088,000 102,210,000 126,225,000 69,726,000          
        accounts receivable
      82,840,000 71,848,000 76,610,000 62,553,000 46,467,000 57,705,000 53,195,000 37,241,000 28,162,000 22,031,000 43,263,000 9,109,000 12,120,000 7,733,000 5,208,000 5,623,000 4,394,000 502,000 287,000  5,783,000      2,699,000 17,000 7,000 85,000 167,000 30,000  10,796,000          27,000 2,043,000 2,584,000 2,660,000 3,025,000 
        inventory
      22,745,000 17,735,000 25,172,000 22,275,000 23,776,000 21,173,000 11,378,000 13,756,000 9,813,000 12,448,000 8,524,000 7,617,000 4,823,000 3,282,000 1,250,000 4,529,000 3,487,000                                
        prepaid commercial manufacturing
      14,635,000 14,479,000 8,051,000 12,740,000 13,848,000 16,378,000 16,663,000 14,797,000 5,519,000 18,925,000 17,176,000 13,166,000 13,835,000 13,567,000 16,145,000 17,793,000                                 
        prepaid expenses and other current assets
      23,576,000 13,566,000 15,447,000 15,549,000 14,649,000 11,096,000 12,460,000 11,265,000 11,867,000 8,408,000 7,173,000 4,647,000 5,896,000 5,112,000 6,649,000 5,150,000 16,640,000 16,458,000 11,441,000 14,683,000 21,381,000 8,202,000 7,546,000 6,035,000 4,625,000 3,800,000 4,592,000 3,283,000 2,745,000 3,197,000 7,749,000 3,927,000 2,871,000 4,940,000 4,342,000 5,221,000 4,585,000 3,169,000 4,114,000 3,735,000 4,019,000 5,027,000 4,424,000 2,362,000 1,545,000 1,209,000 1,669,000 1,308,000 
        total current assets
      381,870,000 382,317,000 367,985,000 351,569,000 312,692,000 356,452,000 284,098,000 263,020,000 257,939,000 246,111,000 241,216,000 162,118,000 167,047,000 153,603,000 119,875,000 114,107,000 114,225,000 133,649,000 153,379,000 186,492,000 205,376,000 194,686,000 193,793,000 211,626,000 228,582,000 252,062,000 110,834,000 127,241,000 154,312,000 176,371,000 199,322,000 221,688,000 135,320,000 149,712,000 133,630,000 153,945,000 178,008,000 203,992,000 234,200,000 150,404,000 175,697,000 112,031,000 133,471,000 143,923,000 101,906,000 111,079,000 116,373,000 122,147,000 
        property and equipment
      2,002,000 2,184,000 2,069,000 2,143,000 1,665,000 1,495,000 1,028,000 1,016,000 1,019,000 1,009,000 1,116,000 1,064,000 1,102,000 1,223,000 1,294,000 1,541,000 2,045,000 2,362,000 2,651,000 2,666,000 2,292,000 1,936,000 2,111,000 2,501,000 2,968,000 3,436,000 3,943,000 4,469,000 5,102,000 5,611,000 5,996,000 6,689,000 7,358,000 8,032,000 8,622,000 9,335,000 8,915,000 8,991,000 6,969,000 4,827,000 4,597,000 4,711,000 4,391,000 4,061,000 3,289,000 2,131,000 1,152,000 1,138,000 
        inventory, non-current
      105,280,000 105,372,000 104,186,000 100,984,000 82,099,000 70,011,000 73,780,000 69,676,000 69,045,000 37,039,000 38,974,000 40,295,000 40,124,000 25,064,000                                   
        prepaid commercial manufacturing, non-current
      4,238,000    3,246,000    4,235,000 4,235,000                                       
        right-of-use assets
      4,433,000 4,795,000 5,152,000 5,006,000 3,670,000 2,380,000 3,625,000 4,324,000 4,641,000 5,589,000 6,523,000 7,053,000 7,972,000 9,295,000 10,182,000 11,054,000 11,910,000 12,752,000 13,580,000 14,519,000 1,667,000 2,274,000 2,402,000 2,945,000 3,468,000 3,970,000 4,453,000 4,919,000 5,371,000                    
        other assets
      6,684,000 6,936,000 6,778,000 7,068,000 6,822,000 5,416,000 5,332,000 5,452,000 5,503,000 3,596,000 1,550,000 673,000 774,000 881,000 13,321,000 4,908,000 1,228,000 1,150,000 1,238,000 1,305,000 958,000 552,000 249,000 271,000 304,000 314,000 180,000 1,351,000 1,350,000 1,350,000 1,350,000 159,000 159,000 159,000 853,000 842,000 842,000 148,000 148,000 148,000 104,000 104,000 104,000 104,000 104,000 104,000  13,000 
        total assets
      504,507,000 501,604,000 486,170,000 466,770,000 410,194,000 435,754,000 367,863,000 343,488,000 342,382,000 297,579,000 289,379,000 211,203,000 217,019,000 190,066,000 144,672,000 131,610,000 129,408,000 149,913,000 170,848,000 204,982,000 210,293,000 201,562,000 198,555,000 217,343,000 235,322,000 259,782,000 119,410,000 137,980,000 166,135,000 183,332,000 206,668,000 228,536,000 142,837,000 157,903,000 143,105,000 164,122,000 187,765,000 213,131,000 241,317,000 155,379,000 180,498,000 116,946,000 138,066,000 148,188,000 105,399,000 113,414,000 117,729,000 123,478,000 
        liabilities and stockholders’ equity
                                                      
        current liabilities
                                                      
        accounts payable
      28,195,000 19,235,000 18,390,000 21,685,000 13,722,000 16,000,000 15,824,000 10,881,000 17,277,000 11,138,000 7,736,000 5,294,000 10,513,000 10,859,000 3,113,000 4,294,000 5,030,000 4,277,000 4,263,000 2,587,000 5,378,000 5,626,000 2,490,000 4,212,000 1,012,000 2,187,000 2,689,000 1,260,000 2,925,000 1,148,000 2,269,000 3,172,000 1,761,000 3,933,000 1,723,000 4,713,000 5,893,000 5,635,000 6,298,000 4,746,000 4,875,000 2,777,000 2,714,000 2,684,000 2,544,000 3,129,000 1,022,000 2,308,000 
        accrued compensation and benefits
      9,382,000 19,108,000 15,056,000 11,814,000 7,168,000 14,940,000 11,541,000 10,458,000 6,727,000 12,597,000 8,357,000 6,880,000 5,074,000 7,548,000 7,165,000 6,405,000 6,304,000 5,422,000 4,770,000 5,939,000 4,348,000 5,672,000 3,722,000 3,081,000 1,951,000 4,453,000 2,804,000 2,351,000 1,634,000 2,723,000 2,306,000 2,203,000 1,617,000 3,229,000 2,722,000 2,599,000 1,856,000 3,161,000 2,227,000 2,038,000 1,318,000 2,366,000 1,697,000 1,457,000 945,000 1,648,000 1,106,000 802,000 
        current portion of operating lease liability
      1,510,000 1,479,000 1,435,000 1,182,000 1,302,000 1,562,000 2,567,000 3,550,000 4,314,000 4,435,000 4,321,000 4,105,000 3,998,000 3,894,000 3,791,000 3,691,000 3,592,000 3,492,000 3,391,000 3,184,000 1,412,000 2,117,000 2,770,000 2,826,000 2,715,000 2,608,000 2,504,000 2,318,000 2,102,000                    
        deferred revenue
      3,248,000 1,206,000 6,581,000 6,280,000 10,913,000 10,686,000 7,272,000 10,829,000 6,586,000 7,182,000 4,072,000 5,959,000 5,545,000 4,211,000 4,003,000    527,000 1,412,000 2,723,000 4,177,000 885,000 2,241,000 3,366,000 4,541,000                       
        accrued expenses and other current liabilities
      67,233,000 47,577,000 41,927,000 40,761,000 42,735,000 34,642,000 33,295,000 26,718,000 21,991,000 15,041,000 19,043,000 12,399,000 11,053,000 12,380,000 7,338,000 7,936,000 6,778,000 7,366,000 11,373,000 8,552,000 11,262,000 6,657,000 6,667,000 7,574,000 6,936,000 7,248,000                       
        total current liabilities
      109,568,000 88,605,000 83,389,000 81,722,000 75,840,000 77,830,000 70,499,000 62,436,000 56,895,000 50,393,000 43,529,000 61,689,000 63,063,000 65,603,000 51,951,000 48,699,000 47,843,000 52,821,000 68,768,000 57,785,000 41,790,000 28,416,000 16,534,000 33,650,000 23,417,000 22,220,000 17,679,000 16,333,000 20,826,000 17,728,000 15,549,000 15,609,000 13,162,000 17,871,000 15,727,000 18,388,000 19,314,000 19,201,000 17,635,000 14,061,000 12,458,000 7,723,000 12,584,000 5,546,000 19,912,000 21,536,000 19,397,000 27,334,000 
        operating lease liability, net of current portion
      3,237,000 3,641,000 4,038,000 4,015,000 2,505,000 1,023,000 1,218,000 1,096,000 778,000 1,725,000 2,887,000 3,752,000 4,814,000 5,855,000 6,878,000 7,857,000 8,812,000 9,748,000 10,669,000 11,548,000 397,000 413,000  608,000 1,355,000 2,076,000 2,770,000 3,433,000 4,069,000                    
        long-term debt
      203,517,000 202,834,000 202,138,000 201,446,000 151,301,000 150,853,000 100,707,000 100,249,000 99,834,000 49,822,000 27,229,000                                      
        deferred revenue, non-current
      13,699,000 13,699,000 13,699,000 12,295,000 8,350,000 7,232,000 12,770,000 9,613,000 12,103,000 8,644,000 10,290,000 9,238,000 11,498,000 9,025,000 8,560,000 12,421,000 8,563,000 4,727,000 2,947,000 2,947,000 2,947,000                        27,190,000 31,074,000 34,959,000 33,170,000 
        deferred royalty obligation related to the sale of future royalties
      25,864,000 25,876,000 28,626,000 27,761,000 26,522,000 25,527,000 24,372,000 23,104,000 21,881,000 20,179,000 14,113,000 13,191,000 12,223,000 11,254,000 10,422,000                                  
        total liabilities
      355,885,000 334,655,000 331,890,000 327,239,000 264,518,000 262,465,000 209,566,000 196,498,000 191,491,000 130,763,000 98,218,000 88,042,000 91,598,000 91,737,000 77,811,000 78,568,000 65,218,000 67,296,000 89,416,000 87,413,000 79,482,000 75,450,000 67,215,000 70,993,000 67,565,000 73,127,000 70,252,000 69,363,000 74,294,000 67,519,000 65,220,000 65,122,000 13,861,000 18,591,000 16,468,000 19,144,000 20,081,000 19,980,000 18,424,000 14,774,000 12,750,000 8,045,000 12,936,000 5,928,000 47,399,000 52,732,000 54,428,000 60,611,000 
        commitments and contingencies
                                                      
        stockholders’ equity
                                                      
        common stock, 0.0001 par value per share...
      25,000 24,000                                            2,000   
        additional paid-in capital
      1,133,265,000 1,113,666,000 1,100,664,000 1,085,108,000 1,072,118,000 1,058,548,000 1,048,073,000 1,036,244,000 1,023,610,000 1,012,773,000 1,008,741,000 947,380,000 932,330,000 878,500,000 857,788,000 821,075,000 805,265,000 795,540,000 758,114,000 750,664,000 718,728,000 680,872,000 657,130,000 653,805,000 650,617,000 647,078,000 489,810,000 485,718,000 483,479,000 481,357,000 479,109,000 476,968,000 420,294,000 417,568,000 414,970,000 412,617,000 409,610,000 407,092,000 405,514,000 294,171,000 292,699,000 210,386,000 209,615,000 208,619,000 133,366,000 132,547,000 131,195,000 130,836,000 
        accumulated deficit
      -984,544,000 -946,939,000 -946,532,000 -945,563,000 -926,484,000 -885,340,000 -889,985,000 -889,176,000 -872,722,000 -846,204,000 -817,402,000 -824,031,000 -806,910,000 -780,137,000 -790,832,000 -767,939,000 -741,001,000 -712,930,000 -676,696,000 -633,109,000 -587,920,000 -554,765,000 -525,889,000 -507,781,000 -482,825,000 -460,452,000 -440,662,000 -417,123,000 -391,656,000 -365,512,000 -337,650,000 -313,524,000 -291,232,000 -278,214,000 -288,328,000 -267,604,000 -241,883,000 -213,875,000 -182,601,000 -153,570,000 -124,955,000 -101,488,000 -84,488,000 -66,362,000 -75,369,000 -71,867,000 -67,896,000 -67,971,000 
        accumulated other comprehensive income
      -124,000 198,000 124,000 -38,000 18,000 57,000 185,000 -101,000 -20,000 224,000        -6,000 3,000 4,000 -7,000 -4,000 90,000 317,000 -44,000 20,000 4,000                      
        total stockholders’ equity
      148,622,000 166,949,000 154,280,000 139,531,000 145,676,000 173,289,000 158,297,000 146,990,000 150,891,000 166,816,000 191,161,000 123,161,000 125,421,000 98,329,000 66,861,000 53,042,000 64,190,000 82,617,000 81,432,000 117,569,000 130,811,000 126,112,000 131,340,000 146,350,000 167,757,000 186,655,000 49,158,000 68,617,000 91,841,000 115,813,000 141,448,000 163,414,000 128,976,000 139,312,000 126,637,000 144,978,000 167,684,000 193,151,000 222,893,000 140,605,000 167,748,000 108,901,000 125,130,000 142,260,000 58,000,000 60,682,000 63,301,000 62,867,000 
        total liabilities and stockholders’ equity
      504,507,000 501,604,000 486,170,000 466,770,000 410,194,000 435,754,000 367,863,000 343,488,000 342,382,000 297,579,000 289,379,000 211,203,000 217,019,000 190,066,000 144,672,000 131,610,000 129,408,000 149,913,000 170,848,000 204,982,000 210,293,000 201,562,000 198,555,000 217,343,000 235,322,000 259,782,000 119,410,000 137,980,000 166,135,000 183,332,000 206,668,000 228,536,000 142,837,000 157,903,000 143,105,000 164,122,000 187,765,000 213,131,000 241,317,000 155,379,000 180,498,000 116,946,000 138,066,000 148,188,000 105,399,000    
        common stock, 0.0001 par value...
        24,000 24,000 24,000 24,000 24,000 23,000 23,000 23,000 23,000 22,000 21,000 20,000 19,000 15,000 14,000 13,000 11,000 10,000 10,000 9,000 9,000 9,000 9,000 9,000 6,000 6,000 6,000 6,000 6,000 6,000 5,000 5,000 5,000 5,000 5,000 5,000 5,000 4,000 4,000 3,000 3,000 3,000     
        current assets:
                                                      
        current liabilities:
                                                      
        stockholders’ equity:
                                                      
        preferred stock, 0.0001 par value...
                                                      
        current portion of long-term debt
                 27,052,000 26,880,000 26,711,000 26,541,000 26,373,000 26,139,000                                
        other liabilities, non-current
                170,000 172,000                                     
        accumulated other comprehensive loss
                -201,000 -210,000 -20,000 -54,000 -114,000 -109,000 -88,000           16,000 12,000 -38,000 -17,000 -36,000 -91,000 -47,000 -10,000 -40,000 -48,000 -71,000 -25,000          
        deferred royalty obligation
                     9,591,000                                 
        long-term investments
                           2,114,000                           
        loan payable, current portion
                       32,264,000 44,444,000 36,111,000 16,667,000 4,167,000  13,716,000 7,437,000 1,183,000                       
        loan payable, net of current portion
                        7,032,000 15,133,000 34,348,000 46,621,000 50,681,000 36,735,000 42,793,000 48,831,000                       
        unbilled revenue
                            750,000 750,000 750,000 750,000                       
        uncharged license fees
                                   1,000,000 1,000,000 1,000,000 1,000,000                
        other long-term liabilities
                                   582,000 651,000 677,000 699,000 720,000 741,000 756,000 767,000 779,000 789,000 713,000 292,000 322,000 352,000 382,000 297,000 122,000   
        unbilled license revenue
                                   5,000,000 5,000,000 5,000,000 5,000,000                
        accrued and other liabilities
                                9,682,000 10,404,000 14,165,000 12,857,000 9,974,000 9,234,000 8,784,000 10,709,000 11,282,000 11,076,000 11,565,000 10,405,000 9,110,000 7,277,000 6,265,000 2,580,000 8,173,000 1,405,000 470,000 780,000   
        loan payable, long term
                                49,803,000 49,597,000 49,399,000 49,209,000 49,020,000 48,836,000                 
        restricted cash
                                              100,000 100,000 100,000 100,000 100,000 100,000 204,000 180,000 
        deferred revenue, current portion
                                                  15,953,000 15,979,000 16,480,000 23,221,000 
        common stock
                                                  3,000  2,000 2,000 
        liabilities, convertible preferred stock, and stockholders’ equity
                                                      
        convertible preferred stock warrant liability
                                                      
        liabilities related to early exercise of options
                                                    72,000 107,000 
        convertible preferred stock, 0.0001 par value per share...
                                                      
        total liabilities, convertible preferred stock, and stockholders’ equity
                                                   113,414,000 117,729,000 123,478,000 
        other accrued liabilities
                                                    789,000 1,003,000 
        deferred rent
                                                      
      Cashflow Statements:
      Quarterly
      Annual
        Unit: USD2026-03-31 2025-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 
                                                       
          operating activities
                                                       
          net loss
        -37,605,000 -407,000 -969,000 -19,079,000 -41,144,000 4,645,000 -809,000 -16,454,000 -26,518,000 -28,802,000 6,629,000 -17,121,000 -26,773,000 10,695,000 -22,893,000 -26,938,000 -28,071,000 -36,234,000 -43,587,000 -45,189,000 -33,155,000 -28,876,000 -18,108,000 -24,956,000 -22,373,000 -19,790,000 -23,539,000 -25,467,000 -26,144,000 -27,862,000 -24,126,000 -22,291,000 -17,019,000 10,114,000 -20,724,000 -25,721,000 -28,008,000 -31,274,000   -23,467,000    -3,502,000   
          adjustments to reconcile net loss to net cash from operating activities
                                                       
          depreciation and amortization expense
        915,000 921,000 905,000 631,000 602,000 515,000 544,000 569,000 435,000 362,000 291,000 642,000 -3,000 109,000                               119,000 100,000 74,000 
          non-cash lease expense
        362,000 357,000 336,000 331,000 923,000 1,035,000 1,020,000 1,005,000 948,000 934,000 869,000 919,000 902,000 887,000 872,000 856,000 842,000 828,000 939,000 711,000 607,000 579,000 543,000 523,000 502,000 483,000 465,000 452,000 439,000                   
          stock-based compensation
        14,158,000 12,445,000 12,742,000 11,687,000 12,088,000 9,863,000 9,133,000 10,769,000 7,616,000 3,930,000 3,489,000 3,199,000 2,912,000 1,926,000 1,848,000 3,254,000 3,722,000 3,471,000 2,262,000 3,219,000 3,087,000 2,434,000 2,527,000 2,674,000 2,948,000 2,212,000 3,879,000 1,923,000 1,922,000 2,250,000 1,948,000 2,603,000 2,425,000 2,589,000 2,102,000 2,790,000 2,109,000 1,550,000 1,291,000 1,285,000 1,191,000 757,000 712,000 641,000 524,000 1,208,000 321,000 
          non-cash interest expense
        1,582,000 2,081,000 2,452,000 2,289,000 2,136,000 1,980,000 2,009,000 1,658,000 1,753,000 1,127,000 1,003,000 1,046,000 1,044,000 907,000                                  
          non-cash royalty revenue related to the sale of future royalties
        -695,000 -1,350,000 -4,789,000 -1,380,000 -1,026,000 -916,000 -809,000                                         
          other
        -571,000 -762,000 -1,068,000 -892,000 -1,191,000 -1,087,000 -1,094,000 -1,218,000 -1,265,000 -1,447,000 -962,000                                   
          changes in operating assets and liabilities
                                                       
          accounts receivable
        -10,992,000 4,762,000 -14,057,000 -16,086,000 11,238,000 -4,510,000 -15,954,000 -9,079,000 -6,131,000 21,232,000 -34,154,000 3,011,000 -4,387,000 -2,525,000 415,000 -1,229,000 -3,892,000 -215,000   -5,783,000         82,000 -137,000 -30,000 10,796,000         27,000 2,016,000 541,000 76,000 365,000 
          inventory
        -4,918,000 6,251,000 -6,099,000 -17,383,000 -14,692,000 -6,026,000 -1,726,000 -4,574,000 -29,371,000 -1,989,000 414,000 -2,965,000 -16,601,000 -18,572,000 -5,245,000 -1,042,000 -3,487,000                               
          prepaid commercial manufacturing
        -4,394,000 -6,428,000 4,689,000 4,354,000 -716,000 285,000 -1,866,000 -5,043,000 13,406,000 -5,984,000 -4,010,000 669,000 -268,000 6,388,000 1,648,000                                 
          prepaid expenses and other assets
        -10,004,000 1,478,000 146,000 -895,000 -5,022,000 1,216,000 -1,133,000 824,000 -5,450,000 -3,364,000 -3,488,000 1,591,000 -774,000 1,545,000 -1,094,000 2,155,000 -307,000 -4,977,000 3,452,000 6,283,000 -13,662,000 -905,000 -1,604,000 -1,216,000 -928,000 547,000 -398,000 -389,000 333,000 4,433,000 -5,100,000 -813,000 2,005,000 232,000 783,000 -935,000 -2,228,000 843,000 -354,000 192,000 881,000 -976,000 -2,148,000 -623,000 -336,000   
          accounts payable
        8,960,000 845,000 -3,295,000 7,963,000 -2,278,000 1,176,000 3,943,000 -6,396,000 6,139,000 3,402,000 2,442,000 -5,219,000 -346,000 7,746,000 -1,181,000 -736,000 753,000 14,000 1,676,000 -2,791,000 -248,000 3,136,000 -1,722,000 3,199,000 -1,174,000 -502,000 1,428,000 -1,664,000 777,000 -1,121,000 -903,000 1,411,000 -2,117,000 2,155,000 -2,731,000 -1,309,000 858,000 -530,000 961,000 -385,000 2,102,000 -90,000 350,000 188,000 -819,000 2,093,000 -1,286,000 
          accrued compensation and benefits
        -9,726,000 4,052,000 3,242,000 4,646,000 -7,772,000 3,399,000 1,083,000 3,731,000 -5,870,000 4,240,000 1,477,000 1,806,000 -2,474,000 383,000 760,000 101,000 882,000 652,000 -1,169,000 1,591,000 -1,324,000 1,950,000 641,000 1,130,000 -2,502,000 1,649,000 453,000 717,000 -1,089,000 417,000 103,000 586,000 -1,612,000 507,000 123,000 743,000 -1,305,000 934,000 189,000 719,000 -1,047,000 670,000 240,000 511,000 -703,000 542,000 304,000 
          operating lease liabilities
        -373,000 -353,000 -206,000 -277,000 -991,000 -1,200,000 -1,188,000 -1,132,000 -1,068,000 -1,048,000 -988,000 -955,000 -937,000 -920,000 -879,000 -856,000 -836,000 -820,000 -672,000 -640,000 -721,000                           
          accrued and other liabilities
        19,022,000 2,434,000 4,631,000 -563,000 8,043,000 1,559,000 7,748,000 5,156,000 6,791,000 -2,775,000 6,356,000 1,506,000 -1,396,000 4,513,000 -634,000 1,300,000 -1,041,000 -4,025,000 2,804,000 -4,910,000 7,517,000 -129,000 -1,045,000 568,000 -394,000 -2,624,000 -82,000 -4,206,000 1,051,000 2,758,000 659,000 -119,000 -1,945,000 -594,000 341,000 -651,000 1,149,000 1,497,000 1,696,000 1,433,000 3,656,000 -5,624,000 6,738,000 1,020,000 -134,000   
          deferred revenue
        2,042,000 -5,375,000 1,705,000 -688,000 1,345,000 -2,124,000 -400,000 1,753,000 2,863,000 1,464,000 -835,000 -1,846,000 3,807,000 673,000 142,000 3,858,000 3,836,000 1,253,000 -885,000 1,636,000 -1,454,000 3,292,000 -1,356,000 -1,125,000 -1,175,000                 -43,143,000 -3,910,000 -4,386,000 -4,952,000 
          net cash from operating activities
        -32,237,000 20,951,000 365,000 -25,342,000 -38,457,000 9,810,000 501,000 -19,398,000 -35,722,000 -8,718,000 -21,467,000 -14,737,000 -44,795,000 14,284,000 -25,427,000 -31,281,000 -27,620,000 -39,469,000 -34,589,000 -34,276,000 -44,217,000 -17,590,000 -19,877,000 -19,022,000 -24,946,000 -11,137,000 -20,614,000 -27,820,000 -16,913,000 -18,436,000 -27,019,000 -18,015,000 -6,804,000 4,698,000 -19,039,000 -24,088,000 -26,761,000 -26,561,000 -24,824,000 -24,902,000 -16,247,000 -21,603,000 -11,804,000 -30,224,000 -8,209,000 -3,792,000 -5,685,000 
          capital expenditures
        -69,000 -361,000 -156,000 -650,000 -325,000 -593,000 -137,000 -131,000 -150,000 -43,000 -194,000 -93,000 -14,000  95,000 -445,000 -739,000 -778,000 -250,000 -49,000 -25,000 -114,000 -46,000 -165,000 -287,000 31,000 -55,000 -28,000 -420,000 -789,000 -1,118,000 -3,082,000 -811,000 -59,000 -184,000 -454,000 -680,000 -1,365,000 -821,000 -1,032,000 -88,000 
          free cash flows
        -32,306,000 20,590,000 209,000 -25,992,000 -38,782,000 9,217,000 364,000 -19,529,000 -35,872,000 -8,761,000 -21,661,000 -14,830,000 -44,809,000 14,284,000 -25,427,000 -31,281,000  -39,374,000 -35,034,000 -35,015,000 -44,995,000 -17,840,000 -19,926,000 -19,022,000 -24,971,000 -11,137,000 -20,728,000 -27,866,000 -17,078,000 -18,723,000 -26,988,000 -18,015,000 -6,859,000 4,670,000 -19,459,000 -24,877,000 -27,879,000 -29,643,000 -25,635,000 -24,961,000 -16,431,000 -22,057,000 -12,484,000 -31,589,000 -9,030,000 -4,824,000 -5,773,000 
          investing activities
                                                       
          proceeds from maturities and redemptions of investments
        37,950,000 55,000,000 63,346,000 58,384,000 34,726,000 57,500,000 42,242,000 46,510,000 31,602,000 48,057,000 17,014,000 8,250,000 11,000,000 8,000,000 16,700,000 15,000,000 27,300,000 22,000,000 43,000,000 25,180,000 35,370,000                           
          purchases of investments
        -47,876,000 -50,863,000 -113,699,000 -22,811,000 -31,550,000 -98,527,000 -39,764,000 -22,846,000 -34,024,000 -77,581,000 -49,517,000 -67,364,000 -20,763,000 -6,504,000 -18,062,000 1,000 -25,763,000 1,000 -24,422,000 -16,207,000 -32,107,000 -43,652,000 -44,240,000 -8,102,000 -54,858,000 -66,346,000 -5,468,000 -5,983,000 -24,874,000 -20,673,000 -29,339,000 -80,006,000 -39,015,000 -13,629,000              
          purchases of property and equipment
        -69,000 -361,000 -156,000 -650,000 -325,000 -593,000 -137,000 -131,000 -150,000 -43,000 -194,000 -93,000 -14,000     95,000 -445,000 -739,000 -778,000 -250,000 -49,000 -25,000 -114,000 -46,000 -165,000 -287,000 31,000 -55,000 -28,000 -420,000 -789,000 -1,118,000 -2,758,000 -1,613,000 -295,000 -200,000 -454,000 -680,000 -1,265,000 -1,055,000 -1,032,000 -88,000 
          net cash from investing activities
        -9,995,000 3,776,000 -50,509,000 34,923,000 2,851,000 -41,620,000 2,341,000 23,533,000 -2,572,000 -29,567,000 -32,697,000 -59,207,000 -9,777,000 1,441,000 -832,000 15,474,000 2,332,000 22,096,000 18,133,000 8,234,000 2,485,000 -3,570,000 9,594,000 13,417,000 -50,883,000 -55,461,000 23,448,000 25,405,000 29,981,000 22,190,000 10,092,000 -61,041,000 -1,135,000 11,221,000 14,808,000 16,293,000 22,968,000 -59,228,000 -71,353,000 -295,000 -200,000 -454,000 -680,000 -1,265,000 -1,055,000 -1,032,000 -88,000 
          financing activities
                                                       
          proceeds from issuance of common stock under equity incentive plans
        5,442,000                                               
          net cash from financing activities
        5,442,000 557,000 2,814,000 49,656,000 1,482,000 49,313,000 2,697,000 1,608,000 52,971,000 25,988,000 57,873,000 11,515,000 50,919,000 18,787,000 34,479,000 22,138,000 -63,000 14,513,000 4,999,000 28,717,000 34,770,000 21,183,000 798,000 204,000 591,000 155,058,000 213,000 5,000 200,000 -1,000 191,000 103,062,000 301,000 10,000 49,000 218,000 408,000 27,000 109,868,000 188,000 81,121,000 14,000 -3,000 74,705,000 296,000 66,000 3,000 
          net decrease in cash and cash equivalents
        -36,790,000          3,709,000 -62,429,000 -3,653,000  8,220,000 6,331,000 -25,351,000  -11,457,000 2,675,000 -6,962,000         3,753,000 -16,736,000 24,006,000 -7,638,000           43,216,000 -8,968,000   
          cash and cash equivalents at beginning of period
        67,999,000 64,932,000 21,470,000 96,140,000 72,428,000 91,032,000 181,133,000 78,768,000 75,383,000 74,598,000 107,004,000 107,286,000 
          cash and cash equivalents at end of period
        31,209,000 25,284,000 -47,330,000 59,237,000 30,808,000 17,503,000 5,539,000 5,743,000 36,147,000 -12,297,000 3,709,000 -62,429,000 92,487,000 34,512,000 8,220,000 6,331,000 47,077,000 -2,860,000 -11,457,000 2,675,000 84,070,000 23,000 -9,485,000 -5,401,000 105,895,000 88,460,000 3,047,000 -2,410,000 92,036,000 3,753,000 -16,736,000 24,006,000 67,745,000 15,929,000 -4,182,000 -7,577,000 71,213,000 -85,762,000 13,691,000 -25,009,000 171,678,000 -22,043,000 -12,487,000 43,216,000 98,318,000 -4,758,000 -5,770,000 
          supplemental disclosure of cash flow information
                                                       
          cash paid for interest
        3,114,000 4,860,000 4,577,000 3,826,000 2,454,000 4,446,000 2,928,000 1,939,000 2,095,000 1,548,000 935,000 897,000 860,000 822,000 719,000 619,000 741,000 549,000 984,000 973,000 963,000                           
          cash (refunded) paid for income taxes
        -69,000                                               
          supplemental disclosure of non-cash activity
                                                       
          right-of-use assets obtained in exchange for lease obligations
         482,000 1,667,000 2,213,000 321,000          -12,775,000 13,929,000 450,000                           
          proceeds from issuance of common stock in at the market offering, net of issuance costs
                 -12,000 57,163,000 11,366,000 50,719,000 18,780,000 34,367,000 12,557,000 5,921,000                               
          proceeds from 2022 loan agreement, net of costs
                                                     
          proceeds from the sale of future royalties, net of issuance costs
                                                     
          payments of the previously outstanding exit fees
                                                       
          net increase in cash and cash equivalents
         25,284,000 -47,330,000 59,237,000 -34,124,000 17,503,000 5,539,000 5,743,000 14,677,000             23,000 -9,485,000 -5,401,000 -75,238,000 88,460,000 3,047,000 -2,410,000 13,268,000     15,929,000 -4,182,000 -7,577,000 -3,385,000 -85,762,000 13,691,000 -25,009,000 64,674,000 -22,043,000    -4,758,000 -5,770,000 
          supplementary disclosure of cash flow information
                                                       
          cash paid for income taxes
         -6,000 51,000 438,000 2,000 -6,000 271,000 1,000 32,000   5,000 1,000 1,000                             
          supplementary disclosure of non-cash activities
                                                       
          issuance of common stock for services
                                               
          proceeds from issuance of common stock under equity incentive and stock purchase plans
          2,814,000 988,000 1,482,000 612,000 2,697,000 1,608,000 3,221,000 114,000 710,000 149,000 200,000 7,000 112,000 83,000 362,000 543,000 498,000 261,000                          
          proceeds from 2022 loan agreement, net of issuance costs
             49,701,000                                         
          gain on sale of equipment
                     -407,000 -143,000 -710,000                               
          proceeds from sale of property and equipment
                     530,000                                 
          payment of the exit fees
                                                       
          payments for the 2018 loan, net of costs
                                                       
          issuance of derivative in connection with issuance of loan payable
                     375,000                             
          adjustments to reconcile net loss to net cash from operating activities:
                                                       
          changes in operating assets and liabilities:
                                                       
          supplementary disclosure of cash flow information:
                                                       
          supplementary disclosure of non-cash activities:
                                                       
          proceeds from 2022 loan, net of issuance costs
                49,750,000     26,971,000                               
          payment of the 2018 exit fee
                                                       
          payments for taxes related to net share settlement of equity awards
                                                      
          payments for 2018 loan, net of costs
                                                       
          change in derivative liabilities
                    70,000 529,000 36,000 3,000 15,000 18,000 17,000 -749,000 36,000 117,000 138,000 70,000 82,000 190,000 185,000 24,000 37,000 55,000                  
          debt refinancing costs
                     102,000                               
          impairment of long-lived assets
                    429,000                                   
          unbilled revenue
                                                       
          repayment of 2018 loan, net of settlement costs
                      -33,038,000                               
          depreciation expense
                       175,000 232,000 194,000 460,000 365,000 422,000 425,000 439,000 468,000 492,000 508,000 640,000 678,000 675,000 673,000 662,000 669,000 674,000 674,000 723,000 648,000 594,000 391,000 273,000 321,000 310,000 289,000 262,000     
          amortization of deferred financing costs
                       57,000 169,000 161,000 161,000 159,000 157,000 80,000 134,000 170,000 112,000 120,000 268,000 162,000 120,000 92,000 85,000 45,000 14,000 15,000 35,000 253,000 72,000 57,000 115,000 94,000 80,000 263,000      
          amortization of deferred compensation for services
                       58,000 47,000 48,000 47,000 68,000 77,000 78,000 77,000 69,000 89,000 78,000 77,000 78,000 76,000 76,000 76,000 51,000 50,000 50,000 51,000 45,000 46,000 46,000 47,000 54,000 47,000       
          amortization of premium on investment securities
                             149,000 -14,000 -89,000 -138,000  -129,000 -236,000 -301,000 -428,000 -452,000 -181,000 -75,000 -46,000 56,000 49,000 -48,000 -75,000          
          non-cash interest associated with debt discount accretion
                       42,000 109,000 71,000 71,000 71,000 70,000 20,000 136,000 130,000 127,000 125,000 122,000 118,000 113,000                   
          amortization of (discount) premium on investment securities
                        15,000 92,000 122,000 117,000 157,000                           
          proceeds from sale of equipment
                        795,000                               
          proceeds from underwritten public offering, net of issuance costs
                                                      
          proceeds from issuance of common stock upon private placement, net of issuance costs
                                                       
          proceeds from issuance of common stock in at-the-market offering, net of issuance costs
                         33,957,000 4,743,000 28,174,000 34,272,000                           
          principal repayments for loan payable
                                                       
          payments for loan payable, net of issuance costs
                                                       
          lease liabilities
                             -690,000 -663,000 -637,000 -614,000 -591,000                      
          proceeds from (payments for) loan payable, net of issuance costs
                                                       
          proceeds from maturities of investments
                              53,883,000 21,519,000 4,000,000 9,885,000 28,030,000 31,434,000 55,020,000 43,150,000 39,400,000 18,965,000 37,085,000 23,778,000              
          income taxes paid
                                                       
          proceeds from issuance of common stock under stock plans
                               375,000 -1,000 199,000 198,000 -1,000 191,000 301,000 10,000 49,000 218,000 408,000 28,000          
          issuance of common stock upon exercise of options
                               204,000 216,000 157,000 14,000 5,000 2,000                   
          amortization of (premium) discount on investment securities
                                                       
          sales and redemptions of investments
                                 1,000,000    850,000 1,100,000              
          proceeds from loan payable, net of issuance costs
                                                     
          acquisition of property and equipment included in accounts payable and accrued liabilities
                                             -324,000 802,000 236,000 16,000   -100,000 234,000   
          accounts receivable and unbilled license revenue
                                  -2,682,000 -10,000 5,078,000                   
          supplementary disclosure of non-cash financing information:
                                                       
          proceeds from issuance of common stock, net of issuance costs
                                             -1,000 109,737,000 80,837,000  -332,000     
          services settled through the issuance of common stock
                                                       
          non-cash interest expense relating to loan payable
                                      110,000                 
          loss from disposal of fixed assets
                                                 1,000 53,000 11,000   
          proceeds from maturities of short-term investments
                                           43,562,000 31,872,000           
          sales of short-term investments
                                           10,482,000           
          purchases of short-term investments
                                           -26,480,000 -18,268,000 -64,070,000          
          change in fair value of preferred stock warrant liability
                                                     
          other long-term liabilities
                                                       
          reclassification of convertible preferred warrant liability to additional paid-in capital
                                                       
          conversion of convertible preferred stock to common stock at closing of initial public offering
                                                       
          supplemental cash flow disclosure:
                                                       
          cash paid during the period for income taxes
                                                  -241,000 74,000 236,000   
          supplemental noncash investing activities:
                                                       
          net income
                                                  -18,126,000    75,000 
          adjustments to reconcile net income to net cash from operating activities:
                                                       
          proceeds from exercise of stock options
                                               188,000 284,000  329,000 21,000 296,000   
          supplemental noncash financing activities:
                                                       
          common stock issuance costs included in accounts payable and accrued liabilities
                                                       
          proceeds from issuance of common stock
                                                      
          proceeds from issuance of common stock from exercise of options
                                                       
          proceeds from issuance of common stock upon initial public offering
                                                       
          proceeds from issuance of common stock from exercise of options, including early exercise of stock options
                                                       
          repurchase of unvested common stock
                                                       
          prepaid and other current assets
                                                      -361,000 
          other assets
                                                      -11,000 
          other accrued liabilities
                                                      -214,000 
          deferred rent