7Baggers

Omeros Corporation
(NASDAQ:OMER) 

OMER stock logo

Omeros Corporation, a commercial-stage biopharmaceutical company, discovers, develops, and commercializes small-molecule and protein therapeutics, and orphan indications targeting inflammation, complement-mediated diseases, disorders of the central nervous system (CNS), and immune-related diseases. ...

Founded: 1994
Full Time Employees: 258
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 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-12-31 2010-09-30 2010-06-30 2010-03-31 2009-12-31 2009-09-30 
                                                                       
      product sales
    9,893,000                 19,972,250 30,004,000 28,823,000 21,061,000 10,632,000 26,114,000 13,530,000 23,537,000 33,416,000 29,856,000 26,753,000 21,779,000 22,016,000 4,608,000 1,655,000 1,588,000 13,759,000 21,658,000 17,151,000 12,257,000 12,905,000 11,289,000 10,004,000 7,246,000 6,657,000 3,244,000 3,125,000 238,000                       
      costs and expenses:
                                                                       
      cost of product sales
    587,000                 234,500 333,000 342,000 263,000 87,000 401,000 147,000 267,000 401,000 278,000 55,000 131,000 157,000 36,000 116,000 203,000 465,000 184,000 157,000 271,000 380,000 378,000 327,000 327,000 417,000 248,000 365,000 11,000                       
      research and development
    13,358,000 19,446,000 15,995,000 22,009,000 23,846,000 23,320,000 24,084,000 45,349,000 26,770,000 28,890,000 31,731,000 29,639,000 24,610,000 26,549,000 38,568,000 23,516,000 24,087,000 27,417,000 27,063,000 30,937,000 33,358,000 26,458,000 31,316,000 24,132,000 28,911,000 40,588,000 23,746,000 19,108,000 26,255,000 25,446,000 26,862,000 19,412,000 18,140,000 15,387,000 14,835,000 13,137,000 12,240,000 12,542,000 12,492,000 10,231,000 15,434,000 14,897,000 13,264,000 10,900,000 9,318,000 11,750,000 11,772,000 12,407,000 12,017,000 10,186,000 9,420,000 9,564,000 7,127,000 9,354,000 7,764,000 7,558,000 7,246,000 8,895,000 5,321,000 4,077,000 5,425,000 6,947,000 5,316,000 6,120,000 5,082,000 4,638,000 3,692,000 
      selling, general and administrative
    13,369,000 9,635,000 10,397,000 10,345,000 11,123,000 12,340,000 11,323,000 13,808,000 12,264,000 10,875,000 16,422,000 11,260,000 11,103,000 13,589,000 12,198,000 13,922,000 10,959,000 -5,632,000 20,861,000 21,560,000 18,052,000 17,903,000 19,825,000 16,931,000 18,036,000 16,133,000 16,933,000 16,928,000 14,632,000 14,888,000 13,152,000 12,744,000 10,934,000 12,028,000 11,749,000 15,796,000 12,471,000 11,840,000 10,457,000 10,375,000 11,110,000 9,401,000 9,048,000 7,889,000 8,989,000 8,405,000 5,574,000 4,855,000 3,767,000 3,885,000 4,210,000 3,736,000 3,988,000               
      total costs and expenses
    27,314,000 29,081,000 26,392,000 32,354,000 34,969,000 35,660,000 35,407,000 59,157,000 39,034,000 39,765,000 48,153,000 40,899,000 35,713,000 40,138,000 50,766,000 37,438,000 35,046,000 20,847,000 48,257,000 52,839,000 51,673,000 44,448,000 51,542,000 41,210,000 47,214,000 57,122,000 40,957,000 36,091,000 41,018,000 40,491,000 40,050,000 32,272,000 29,277,000 27,880,000 26,768,000 29,090,000 24,982,000 24,762,000 23,327,000 20,933,000 26,871,000 24,715,000 22,560,000 19,154,000 18,318,000                       
      income from operations
    -17,421,000 -29,081,000 -26,392,000 -32,354,000 -34,969,000 -35,660,000 -35,407,000 -59,157,000 -39,034,000 -39,765,000 -48,153,000 -40,899,000 -35,713,000     -18,220,250 -18,253,000 -24,016,000 -30,612,000 -33,816,000 -25,428,000 -27,680,000 -23,677,000 -23,706,000 -11,101,000 -9,338,000 -19,239,000 -18,475,000 -35,442,000 -30,617,000 -27,689,000 -14,121,000 -5,110,000 -11,939,000 -12,725,000 -11,857,000 -12,038,000 -10,929,000 -19,452,000 -18,040,000 -19,301,000 -15,967,000 -17,930,000 -19,975,000 -17,132,000 -17,217,000 -15,684,000 -13,902,000 -13,434,000 -13,160,000 -10,020,000 -7,533,000 -13,036,000 -8,244,000 -8,072,000 -9,847,000 -6,164,000 -4,949,000 -6,450,000 -8,557,000 -7,490,000 -7,634,000 -6,425,000 -5,315,000 -4,527,000 
      yoy
    -50.18% -18.45% -25.46% -45.31% -10.41% -10.32% -26.47% 44.64% 9.30%         -46.12% -28.22% -13.24% 29.29% 42.65% 129.06% 196.42% 23.07% 28.31% -68.68% -69.50% -30.52% 30.83% 593.58% 156.45% 117.60% 19.09% -57.55% 9.24% -34.58% -34.27% -37.63% -31.55% 8.49% -9.69% 12.66% -7.26% 14.32% 43.68% 27.53% 30.83% 56.53% 84.55% 3.05% 59.63% 24.13% -23.50% 111.49% 66.58% 25.15% 15.08% -17.70% -35.17% 0.39% 61.00% 65.45%     
      qoq
    -40.09% 10.19% -18.43% -7.48% -1.94% 0.71% -40.15% 51.55% -1.84% -17.42% 17.74% 14.52%      -0.18% -24.00% -21.55% -9.47% 32.99% -8.14% 16.91% -0.12% 113.55% 18.88% -51.46% 4.14% -47.87% 15.76% 10.57% 96.08% 176.34% -57.20% -6.18% 7.32% -1.50% 10.15% -43.82% 7.83% -6.53% 20.88% -10.95% -10.24% 16.59% -0.49% 9.77% 12.82% 3.48% 2.08% 31.34% 33.01% -42.21% 58.13% 2.13% -18.03% 59.75% 24.55% -23.27% -24.62% 14.25% -1.89% 18.82% 20.88% 17.41%  
      operating margin %
    -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% NaN% NaN% NaN% NaN% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -102.63% -23.59% -69.61% -103.82% -91.88% -106.63% -109.25% -262.19% -270.26% -592.24% -501.00% -4621.13% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% 
      interest and other income
    1,475,000 1,117,000 616,000 1,241,000 1,058,000 2,296,000 2,346,000 3,247,000 3,415,000 3,429,000 4,413,000 4,537,000 3,963,000 1,993,000 906,000                                                     
      interest expense, net of remeasurement adjustments and other
    -5,894,000 -8,726,000 13,355,000                                                                 
      net gain on change in fair value of financial instruments
    73,146,000                                                                   
      income from continuing operations before income tax expense
    51,306,000                                                                   
      income tax expense
    -57,000                                                                   
      net income from continuing operations
    51,249,000 84,697,999.92 -21,243,000 -25,889,000 -37,565,000 -36,541,000 -37,113,000 -65,125,000 -43,850,000 -39,287,000 -51,656,000 -44,294,000 -39,683,000 -46,048,000 -54,792,000 -41,695,000 -39,494,000                                                   
      net income from discontinued operations, net of tax
    4,811,000 6,561,000 -9,674,000 465,000 4,105,000 5,183,000 4,881,000 9,084,000 6,666,000 30,219,000 13,906,000  5,982,000                                                       
      net income
    56,060,000 86,451,000 -30,917,000 -25,424,000 -33,460,000 -31,358,000 -32,232,000 -56,041,000 -37,184,000 -9,068,000 -37,750,000 -37,294,000 -33,701,000 128,733,000 -17,456,000 -30,849,000 -33,011,000 280,621,000 -22,703,000 -28,593,000 -35,090,000 -37,273,000 -38,463,000 -33,294,000 -29,031,000 -29,225,000 -16,463,000 -14,453,000 -24,345,000 -23,534,000 -39,472,000 -33,696,000 -30,054,000 -16,551,000 -7,482,000 -14,359,000 -15,089,000 -19,632,000 -13,962,000 -12,612,000 -20,539,000 -19,826,000 -19,921,000 -16,680,000 -18,669,000 -20,713,000 -18,327,000 -17,991,000 -16,642,000 -1,845,000 -13,870,000 -13,592,000 -10,489,000 -7,734,000 -13,276,000 -8,539,000 -8,895,000 -10,201,000 -6,512,000 -5,291,000 -6,542,000 -7,231,000 -7,555,000 -7,804,000 -6,661,000 -5,582,000 -3,916,000 
      yoy
    -267.54% -375.69% -4.08% -54.63% -10.02% 245.81% -14.62% 50.27% 10.34% -107.04% 116.26% 20.89% 2.09% -54.13% -23.11% 7.89% -5.92% -852.88% -40.97% -14.12% 20.87% 27.54% 133.63% 130.36% 19.25% 24.18% -58.29% -57.11% -19.00% 42.19% 427.56% 134.67% 99.18% -15.69% -46.41% 13.85% -26.53% -0.98% -29.91% -24.39% 10.02% -4.28% 8.70% -7.29% 12.18% 1022.66% 32.13% 32.36% 58.66% -76.14% 4.47% 59.18% 17.92% -24.18% 103.87% 61.39% 35.97% 41.07% -13.81% -32.20% -1.79% 29.54% 92.93%     
      qoq
    -35.15% -379.62% 21.61% -24.02% 6.70% -2.71% -42.48% 50.71% 310.06% -75.98% 1.22% 10.66% -126.18% -837.47% -43.41% -6.55% -111.76% -1336.05% -20.60% -18.52% -5.86% -3.09% 15.53% 14.68% -0.66% 77.52% 13.91% -40.63% 3.45% -40.38% 17.14% 12.12% 81.58% 121.21% -47.89% -4.84% -23.14% 40.61% 10.70% -38.59% 3.60% -0.48% 19.43% -10.65% -9.87% 13.02% 1.87% 8.11% 802.01% -86.70% 2.05% 29.58% 35.62% -41.74% 55.47% -4.00% -12.80% 56.65% 23.08% -19.12% -9.53% -4.29% -3.19% 17.16% 19.33% 42.54%  
      net income margin %
    Infinity% Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% Infinity% -Infinity% -Infinity% -Infinity% Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -120.29% -34.55% -83.72% -123.11% -152.13% -123.68% -126.07% -276.84% -297.02% -611.26% -523.38% -4811.60% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% -Infinity% 
      basic net income per share:
                                                                       
      net income from discontinued operations
    0.07 0.11 -0.15 0.01 0.07 0.08 0.08 0.15 0.12 0.48 0.22 7,000,000 0.09 -54,664,996.34 37,336,000 10,846,000 6,483,000                                                   
      diluted net income per share:
                                                                       
      weighted-average shares used for eps calculation
     63,510,201 66,263,992 58,585,083 58,056,357 58,170,931 57,948,093 57,944,016 58,800,716 62,739,227 62,856,721 62,837,125 62,828,765 62,737,091 62,730,015 62,730,015 62,724,775 62,344,100 62,510,727 62,373,521 61,928,511 57,176,743 58,233,988 54,513,337 54,299,813 49,523,444 49,373,156 49,084,093 49,014,009 48,582,636 48,647,416 48,384,460 48,284,019 45,539,362 46,262,211 44,037,471 43,828,572 40,446,410 41,058,754 39,178,547 38,317,084 37,560,257 37,923,353 37,846,832 36,483,559 33,234,294 34,005,642 33,933,356 30,897,039 28,560,360 29,844,507 28,199,739 25,908,153 24,155,690 25,834,730 22,466,540 22,434,903  22,246,430,000 22,167,629,000 22,056,590,000 21,420,883,000 21,487,621,000 21,381,216,000 21,293,895,000 7,218,915,000 2,930,391,000 
      basic
    71,917,180                                                                   
      diluted
    90,116,352                                                                   
      loss on early extinguishment of 2026 notes
     -742,000                                                                  
      net loss on change in fair value of financial instruments
     -170,000 -8,822,000                                                                 
      weighted-average shares used for eps calculation
     63,510,201 66,263,992 58,585,083 58,056,357 58,170,931 57,948,093 57,944,016 58,800,716 62,739,227 62,856,721 62,837,125 62,828,765 62,737,091 62,730,015 62,730,015 62,724,775 62,344,100 62,510,727 62,373,521 61,928,511 57,176,743 58,233,988 54,513,337 54,299,813 49,523,444 49,373,156 49,084,093 49,014,009 48,582,636 48,647,416 48,384,460 48,284,019 45,539,362 46,262,211 44,037,471 43,828,572 40,446,410 41,058,754 39,178,547 38,317,084 37,560,257 37,923,353 37,846,832 36,483,559 33,234,294 34,005,642 33,933,356 30,897,039 28,560,360 29,844,507 28,199,739 25,908,153 24,155,690 25,834,730 22,466,540 22,434,903  22,246,430,000 22,167,629,000 22,056,590,000 21,420,883,000 21,487,621,000 21,381,216,000 21,293,895,000 7,218,915,000 2,930,391,000 
      interest expense
       -15,000 -3,654,000 -3,177,000 -4,052,000 -9,215,000 -8,231,000 -7,063,000 -7,916,000 -7,932,000 -7,933,000 -7,903,000 -4,932,000 -4,927,000 -4,941,000 -4,950,000 -4,911,000 -4,910,000 -4,897,000 -7,988,000 -6,882,000 -5,978,000 -5,903,000 -5,811,000 -5,715,000 -5,530,000 -5,600,000 -5,148,000 -4,602,000 -3,676,000 -2,825,000 -2,864,000 -2,780,000 -2,723,000 -2,663,000 -2,452,000 -2,135,000 -1,857,000 -1,375,000 -808,000 -871,000 -937,000 -957,000 -915,000 -944,000 -939,000 -672,000 -598,000 -592,000 -589,000 -587,000 -369,000 -413,000 -453,000 -494,000 -536,000 -528,000 -527,000 -293,000 -312,000 -362,000 -409,000 -452,000 -497,000 -540,000 
      loss on early extinguishment of 2026 convertible senior notes
       -2,968,000                                                                
      gain on change in fair value of financial instruments
       8,207,000                                                                
      basic and diluted net income per share:
                                                                       
      ​
                                                                       
      loss from continuing operations
                 -30,812,750 -50,766,000 -37,438,000 -35,046,000                                                   
      other income
                   670,000 493,000 526,000 461,000 333,000 419,000 374,000 -633,000 364,000 549,000 292,000 353,000 415,000 494,000 153,000 572,000 597,000 460,000 434,000 408,000 303,000 299,000 272,000 211,000 174,000 288,000     175,000 -254,000 160,000 -288,000 153,000 154,000 155,000 112,000 160,000 159,000 152,000 -341,000 171,000 171,000 171,000 184,000 1,913,000 189,000 218,000 199,000 205,000 1,104,000 
      basic and diluted net income per share
                                                                       
      loss on early extinguishment of debt
                          -13,374,000                                             
      loss before income tax benefit
                     -21,596,500 -22,703,000                                                 
      income tax benefit
                         4,157,000 7,854,000                                             
      comprehensive loss
                     -21,596,500 -22,703,000 -28,593,000 -35,090,000 -37,273,000 -38,463,000 -33,294,000 -29,031,000 -29,225,000 -16,463,000 -14,453,000 -24,345,000 -23,534,000 -39,472,000 -33,696,000 -30,054,000 -16,551,000 -7,482,000 -14,359,000 -15,089,000 -19,632,000 -13,962,000 -12,612,000 -20,539,000 -19,826,000 -19,921,000 -16,680,000 -18,669,000 -20,713,000 -18,327,000 -17,991,000 -16,642,000 -1,845,000 -13,870,000 -13,592,000 -10,489,000 -7,734,000 -13,276,000 -8,539,000 -8,895,000           
      basic and diluted net loss per share
                     -0.348 -0.36 -0.46 -0.57 -0.6 -0.66 -0.61 -0.53 -0.59 -0.33 -0.29 -0.5 -0.48 -0.81 -0.7 -0.62 -0.34 -0.16 -0.33 -0.34 -0.46 -0.34 -0.32 -0.54 -0.52 -0.53 -0.44 -0.51 -0.61 -0.54 -0.53 -0.54 -0.03 -0.46 -0.48 -0.4 -0.29 -0.51 -0.38 -0.4           
      revenue:
                                                                       
      income before income taxes
                         -27,160,500 -46,317,000                                             
      revenues
                                                                       
      grant revenue
                                            173,000 18,000 15,000 62,000 150,000                 976,000 254,000 497,000 378,000 434,000 442,000 
      total revenue
                                     13,759,000 21,658,000 17,151,000 12,257,000 12,905,000 11,289,000 10,004,000 7,419,000 6,675,000 3,259,000 3,187,000 388,000                       
      yoy
                                     6.62% 91.85% 71.44% 65.21% 93.33% 246.39% 213.90% 1812.11%                           
      qoq
                                     -36.47% 26.28% 39.93% -5.02% 14.31% 12.84% 34.84% 11.15% 104.82% 2.26% 721.39%                        
      costs and expenses
                                                                       
      investment income and other income
                                             173,250 251,000 224,000 218,000                       
      revenue
                                                 180,000 214,000 45,000 100,000 169,000 196,000 140,000 1,095,000 1,583,000 1,417,000 1,526,000 1,496,000 1,143,000 987,000 1,155,000 1,239,000       
      operating expenses:
                                                                       
      total operating expenses
                                                 20,155,000 17,346,000 17,262,000 15,784,000 14,071,000 13,630,000 13,300,000 11,115,000 9,116,000 14,453,000 9,770,000 9,568,000 10,990,000 7,151,000 6,104,000 7,689,000 9,533,000 7,744,000 8,131,000 6,803,000 5,749,000 4,969,000 
      investment income
                                                 2,000 3,000 5,000 2,000 2,000 2,000 2,000 6,000 8,000 14,000 6,000 12,000 11,000 9,000 14,000 17,000 21,000 108,000 21,000 17,000 25,000 47,000 
      litigation settlement
                                                          3,953,000             
      general and administrative
                                                         1,817,500 2,736,000 2,212,000 2,322,000 2,095,000 1,830,000 2,027,000 2,264,000 2,586,000 2,428,000 2,011,000 1,721,000 1,111,000 1,277,000 
      acquired in-process research and development
                                                                       
      loss on extinguishment of debt
                                                                       
      basic and diluted net loss per common share
                                                             -460 -290 -240 -300 -340 -350 -360 -310 2,370 -1,340 
      pro forma basic and diluted net loss per common share
                                                                     -285 -330 
      weighted-average pro forma shares used to compute pro forma basic and diluted net loss per share
                                                                      14,444,897 
    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 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-12-31 2010-09-30 2010-06-30 2010-03-31 2009-12-31 2009-09-30 
                                                                         
        assets
                                                                         
        current assets:
                                                                         
        cash and cash equivalents
      1,906,000 9,660,000 2,395,000 1,904,000 4,261,000 3,400,000 1,521,000 2,120,000 1,831,000 7,105,000 30,640,000 6,603,000 3,829,000 11,009,000 145,533,000 14,136,000 8,963,000 100,808,000 7,415,000 12,702,000 9,028,000 10,501,000 21,075,000 1,964,000 7,118,000 3,084,000 8,861,000 3,986,000 4,054,000 5,861,000 2,787,000 2,883,000 1,189,000 3,394,000 1,026,000 3,386,000 1,282,000 2,224,000 10,297,000 4,589,000 978,000 1,365,000 601,000 2,561,000 1,441,000 354,000 750,000 1,533,000 567,000 1,384,000 1,150,000 1,716,000 1,281,000 1,520,000 1,060,000 7,268,000 16,802,000 4,005,000 4,888,000 4,159,000 3,921,000 3,278,000 2,796,000 2,873,000 814,000 820,000 1,367,000 
        short-term investments
      133,410,000 162,144,000 33,690,000 26,840,000 48,150,000 86,732,000 121,636,000 156,792,000 228,503,000 164,743,000 279,670,000 334,680,000 367,527,000 183,909,000 75,431,000 108,427,000 133,271,000 56,458,000 42,957,000 60,956,000 91,455,000 124,452,000 132,448,000 14,124,000 46,862,000 57,704,000 18,481,000 27,859,000 43,168,000 54,637,000 52,369,000 85,521,000 71,625,000 80,355,000 85,787,000 26,281,000 32,371,000 43,107,000 37,144,000 16,648,000 12,266,000 26,898,000 34,398,000 48,885,000 68,621,000 6,532,000 21,030,000 35,927,000 51,622,000 12,717,000 7,848,000 18,346,000 12,035,000 20,830,000 29,569,000  815,000 20,565,000 27,965,000 32,715,000 39,715,000 38,715,000 31,715,000 39,010,000 50,259,000 59,485,000 3,125,000 
        omidria contract royalty asset
      25,477,000 25,351,000 25,052,000 28,221,000 29,227,000 29,083,000   135,909,000 138,736,000 119,502,000 115,802,000 119,681,000 123,425,000 143,641,000 126,812,000 133,625,000 140,251,000                                                  
        receivables
      12,032,000 10,917,000 6,908,000 6,276,000 7,076,000 7,739,000 6,394,000 8,080,000 7,642,000 8,096,000 6,878,000 11,190,000 10,033,000 213,221,000 13,854,000 14,479,000 16,255,000 38,155,000 33,898,000 31,838,000 24,826,000 3,841,000 37,379,000 15,780,000 24,117,000 35,185,000 29,931,000 28,515,000 24,718,000 22,818,000 2,297,000 1,529,000 182,000 17,144,000 24,571,000 19,075,000 13,481,000 12,037,000 10,457,000 8,806,000 6,646,000 6,517,000 2,510,000 3,071,000 538,000 392,000                      
        inventory
      183,000                  712,000 978,000 1,191,000 1,355,000 1,542,000 1,892,000 1,211,000 1,147,000 1,173,000 1,187,000 736,000 88,000 214,000 235,000 247,000 443,000 822,000 905,000 960,000 1,128,000 1,396,000 1,780,000 1,972,000 472,000 445,000 633,000 566,000 568,000                      
        prepaid expense and other assets
      7,347,000 7,595,000 3,760,000 6,406,000 7,467,000 7,166,000 6,127,000 6,273,000 13,463,000 8,581,000 4,922,000 7,001,000 6,708,000 6,300,000 5,983,000 11,886,000 7,623,000 8,149,000 6,367,000 5,927,000 5,982,000 11,136,000 3,541,000 5,167,000 6,303,000 6,625,000 5,353,000 4,397,000 4,195,000 6,463,000                                      
        total current assets
      180,355,000 215,667,000 71,805,000 69,647,000 96,181,000 134,120,000 164,921,000 202,930,000 280,958,000 217,898,000 351,338,000 388,558,000 417,037,000 443,236,000 288,545,000 192,722,000 210,222,000 247,889,000 91,349,000 112,401,000 132,482,000 151,285,000 195,985,000 38,927,000 85,611,000 103,745,000 63,799,000 65,944,000 76,871,000 89,867,000 66,001,000 96,504,000 78,684,000 108,372,000 117,897,000 53,093,000 51,354,000 60,262,000 60,649,000 34,105,000 24,322,000 37,146,000 39,463,000 56,681,000 73,066,000 9,157,000 23,361,000 38,968,000 54,132,000 14,817,000 10,270,000 21,271,000 15,813,000 24,700,000 31,437,000 8,520,000 19,698,000 25,948,000 33,839,000 39,667,000 45,277,000 43,754,000 35,185,000 43,032,000 51,777,000 60,664,000 4,940,000 
        omidria contract royalty asset, non-current
      93,717,000 96,435,000 99,031,000 114,735,000 121,560,000 124,266,000 129,488,000 133,428,000                                                            
        right of use assets
      9,518,000 10,708,000 11,807,000 12,894,000 13,948,000 14,961,000 15,933,000 16,868,000 17,767,000 18,631,000 19,460,000 20,258,000 21,025,000 21,762,000 22,464,000 23,129,000 22,909,000 28,276,000 29,039,000 29,824,000 24,994,000 25,526,000 26,116,000 26,603,000 27,081,000 27,082,000 21,302,000 17,318,000 17,514,000                                       
        property and equipment
      1,529,000 1,768,000 2,009,000 2,239,000 2,418,000 2,678,000 1,939,000 2,034,000 1,804,000 1,950,000 1,717,000 1,749,000 1,335,000 1,492,000 1,847,000 1,921,000 1,453,000 1,731,000 1,831,000 1,907,000 2,173,000 2,551,000 2,950,000 3,109,000 3,355,000 3,829,000 3,787,000 4,183,000 4,479,000 3,845,000 2,520,000 2,436,000 2,081,000 2,121,000 1,785,000 1,426,000 1,215,000 1,181,000 1,206,000 1,251,000 898,000 951,000 808,000 789,000 727,000 782,000 846,000 907,000 989,000 939,000 952,000 981,000 1,058,000 1,037,000 685,000 660,000 726,000 739,000 833,000 952,000 2,127,000 1,622,000 1,642,000 1,498,000 1,426,000 1,086,000 681,000 
        restricted investments
      1,054,000 1,054,000 1,054,000 1,054,000 1,054,000 1,054,000 1,054,000 1,054,000 1,054,000 1,054,000 1,054,000 1,054,000 1,054,000 1,054,000 1,054,000 1,054,000 1,054,000 1,054,000 1,054,000 1,054,000 1,054,000 1,055,000 1,154,000 1,154,000 1,154,000 1,154,000 1,154,000 1,154,000 1,154,000 1,154,000 5,779,000 5,779,000 5,835,000 5,835,000                                  
        total assets
      286,173,000 325,632,000 185,706,000 200,569,000 235,161,000 277,079,000 313,335,000 356,314,000 437,492,000 378,269,000 493,071,000 527,421,000 560,132,000 590,969,000 457,551,000 345,638,000 369,263,000 419,268,000 123,430,000 145,391,000 161,444,000 181,042,000 227,075,000 70,689,000 118,214,000 136,969,000 91,263,000 89,760,000 101,246,000 95,936,000 75,610,000 106,349,000 89,035,000 116,328,000 125,517,000 60,354,000 58,404,000 67,278,000 72,763,000 46,108,000 35,972,000 48,995,000 41,417,000 58,637,000 74,911,000 11,090,000 25,294,000 40,993,000 56,067,000 16,535,000 12,014,000 23,058,000 17,693,000 26,575,000 32,761,000 10,066,000 21,089,000 26,982,000 34,984,000 40,948,000 47,753,000 45,704,000 37,106,000 44,786,000 53,486,000 62,062,000 6,910,000 
        liabilities and shareholders’ deficit
                                                                         
        current liabilities:
                                                                         
        accounts payable
      5,367,000 4,764,000 12,499,000 8,838,000 4,413,000 5,905,000 7,723,000 6,502,000 6,182,000 7,712,000 5,866,000 9,552,000 6,446,000 5,989,000 17,089,000 10,876,000 7,345,000 13,400,000 10,026,000 9,502,000 11,499,000 4,199,000 7,017,000 8,507,000 12,960,000 5,328,000 9,702,000 6,260,000 7,121,000 6,281,000 8,847,000 11,850,000 10,183,000 6,691,000 3,680,000 2,572,000 2,409,000 2,519,000 3,985,000 5,420,000 5,332,000 6,428,000 4,575,000 4,045,000 4,611,000 4,915,000 4,156,000 5,085,000 4,926,000 2,329,000 3,361,000 4,253,000 2,609,000 2,632,000 2,702,000 1,285,000 2,394,000 2,002,000 1,647,000 814,000 1,639,000 2,398,000 1,414,000 1,100,000 1,136,000 2,620,000 1,530,000 
        accrued expenses
      27,806,000 29,388,000 25,745,000 26,277,000 24,752,000 26,005,000 23,246,000 27,966,000 28,402,000 31,868,000 34,859,000 29,793,000 30,821,000 30,551,000 18,016,000 23,480,000 23,796,000 33,134,000 27,700,000 33,321,000 28,132,000 28,755,000 36,948,000 25,838,000 41,379,000 46,627,000 33,996,000 31,777,000 34,823,000 30,186,000 15,180,000 11,984,000 13,934,000 19,126,000 20,261,000 21,643,000 14,336,000 13,354,000 11,882,000 10,452,000 12,120,000 9,752,000 8,121,000 6,757,000 6,438,000 7,070,000 6,250,000 5,476,000 5,306,000 3,944,000 4,520,000 4,162,000 6,979,000 5,716,000 6,373,000 6,016,000 5,303,000 5,340,000 2,611,000 3,018,000 3,899,000 5,067,000 3,478,000 3,267,000 3,267,000 2,837,000 3,739,000 
        omidria royalty obligation
      19,856,000 20,547,000 19,301,000 19,596,000 21,072,000 20,645,000    116,550,000 118,770,000 120,939,000 123,057,000 125,126,000 125,000,000                                                     
        2026 notes
       17,063,000                                                                  
        lease liabilities
      6,414,000 6,300,000 6,175,000 6,148,000 6,056,000 5,971,000                                                              
        total current liabilities
      59,443,000 78,062,000 80,756,000 85,503,000 83,222,000 79,526,000 55,623,000 59,475,000 59,056,000 53,316,000 147,176,000 143,538,000 139,191,000 136,383,000 39,514,000 38,501,000 35,066,000 51,789,000 42,818,000 47,697,000 43,434,000 36,736,000 47,719,000 38,047,000 57,936,000 55,459,000 46,753,000 40,673,000 44,505,000 37,356,000 24,587,000 24,442,000 24,630,000 26,307,000 24,690,000 24,753,000 16,973,000 16,071,000 16,057,000 16,065,000 17,521,000 16,253,000 22,273,000 20,096,000 20,068,000 18,431,000 14,397,000 12,170,000 10,232,000 11,873,000 11,900,000 10,900,000 10,585,000 9,318,000 21,811,000 17,249,000 18,742,000 18,985,000 15,815,000 14,339,000 15,023,000 15,874,000 5,321,000 10,114,000 10,122,000 11,090,000 11,940,000 
        omidria royalty obligation, non-current
      141,930,000 147,319,000 152,529,000 178,082,000 190,091,000 195,612,000 205,089,000 212,323,000 217,459,000                                                           
        2029 notes, non-current
      52,810,000                                                                   
        2029 notes embedded derivative, non-current
      84,025,000 157,171,000                                                                  
        lease liabilities, non-current
      5,597,000 7,245,000 8,843,000 10,381,000 11,941,000 13,466,000 14,242,000 15,632,000 16,754,000 18,143,000 19,249,000 20,422,000 21,287,000 22,426,000 23,533,000 24,520,000 24,296,000 29,126,000 30,291,000 31,405,000 27,806,000 28,770,000 29,717,000 30,540,000 31,396,000 32,318,000 28,654,000 25,945,000 26,578,000                                       
        other accrued liabilities, non-current
      5,702,000 5,702,000 4,501,000 4,501,000 4,501,000 4,501,000 3,094,000 2,088,000 2,088,000   496,000 452,000                                                       
        commitments and contingencies
                                                                         
        shareholders’ deficit:
                                                                         
        preferred stock, par value 0.01 per share...
                                                                         
        common stock, par value 0.01 per share...
      720,000 716,000 700,000 599,000 580,000 580,000 579,000 579,000 579,000 611,000 628,000 628,000 628,000 628,000 627,000 627,000 627,000 626,000 625,000 624,000 622,000 616,000 616,000 545,000 545,000 542,000 495,000 492,000 490,000 490,000 490,000 485,000 483,000 482,000 480,000 444,000 439,000 438,000 429,000 393,000 391,000 380,000 380,000 379,000 378,000                    213,000   
        additional paid-in capital
      793,581,000 791,748,000 778,968,000 739,945,000 729,672,000 727,156,000 724,236,000 721,578,000 718,807,000 727,936,000 729,882,000 726,594,000 723,726,000 720,773,000 717,509,000 713,665,000 710,593,000 706,288,000 700,433,000 694,132,000 689,882,000 751,304,000 747,457,000 635,121,000 631,233,000 625,048,000 564,976,000 558,157,000 552,961,000 549,479,000 537,104,000 530,336,000 523,724,000 520,072,000 515,548,000 444,041,000 436,424,000 432,002,000 427,054,000 386,905,000 382,548,000 376,528,000 373,932,000 370,948,000 368,183,000 285,050,000 280,404,000 278,055,000 275,888,000 235,685,000 228,337,000 226,104,000 208,943,000 207,787,000 205,764,000 172,805,000 172,120,000 170,355,000 169,786,000 169,213,000 168,580,000 167,838,000 163,053,000 162,385,000 161,730,000 161,227,000 7,408,000 
        accumulated deficit
      -857,635,000 -913,695,000 -1,000,146,000 -969,229,000 -943,805,000 -910,345,000 -878,987,000 -846,755,000 -790,714,000 -753,530,000 -744,462,000 -706,712,000 -669,418,000 -635,717,000 -764,450,000 -746,994,000 -716,145,000 -683,134,000 -963,755,000 -941,052,000 -912,459,000 -872,672,000 -835,399,000 -796,936,000 -763,642,000 -734,611,000 -705,386,000 -688,923,000 -674,470,000 -650,125,000 -626,591,000 -587,118,000 -553,422,000 -523,368,000 -506,817,000 -499,335,000 -484,976,000 -469,887,000 -450,255,000 -436,293,000 -423,681,000 -403,142,000 -383,316,000 -363,395,000 -346,715,000 -328,046,000 -307,333,000 -289,006,000 -271,015,000 -254,373,000 -252,528,000 -238,658,000 -225,066,000 -214,577,000 -206,843,000 -193,567,000 -185,028,000 -176,133,000          
        total shareholders’ deficit
      -63,334,000  -220,478,000 -228,685,000 -213,553,000  -154,172,000 -124,598,000 -71,328,000          -262,697,000 -246,296,000 -221,955,000 -120,752,000 -87,326,000 -161,270,000 -131,864,000 -109,021,000 -139,915,000 -130,274,000 -121,019,000 -100,156,000 -88,997,000 -56,297,000 -29,215,000 -2,814,000  -54,850,000 -48,113,000 -37,447,000 -22,772,000 -48,995,000 -40,742,000 -26,234,000     -26,589,000    -23,893,000 -12,256,000 -15,864,000 -6,531,000 -820,000 -20,537,000 -12,683,000          -105,293,000 
        total liabilities and shareholders’ deficit
      286,173,000  185,706,000 200,569,000 235,161,000              123,430,000 145,391,000 161,444,000 181,042,000 227,075,000 70,689,000 118,214,000 136,969,000 91,263,000 89,760,000 101,246,000 95,936,000 75,610,000 106,349,000 89,035,000 116,328,000  60,354,000 58,404,000 67,278,000 72,763,000 46,108,000 35,972,000 48,995,000                          
        liabilities and shareholders’ equity
                                                                         
        term debt
           21,000,000                                                              
        2026 and 2029 notes, non-current
       51,364,000                                                                  
        term debt, non-current
        87,480,000 87,313,000  69,405,000                                                              
        term debt, embedded derivative, non-current
                                                                         
        shareholders’ equity/
                                                                         
        total shareholders’ equity/
       -121,231,000                                                                  
        total liabilities and shareholders’ equity/
       325,632,000                                                                  
        convertible senior notes
        17,036,000 17,017,000 26,929,000 97,178,000 97,032,000 96,888,000 213,463,000 213,155,000                                                          
        convertible senior notes, non-current
        72,075,000 63,474,000 70,397,000                                                               
        share-settled liability
         7,627,000                                                                
        long-term debt
          88,562,000  92,427,000 94,506,000                                                            
        shareholders’ equity
                                                                         
        total shareholders’ equity
           -182,609,000    -24,983,000 -13,952,000 20,510,000 54,936,000 85,684,000 -46,314,000 -32,702,000 -4,925,000 23,780,000                 9,211,000        -9,004,000 7,932,000 21,846,000 -42,654,000  -10,611,000 5,212,000          4,077,000 10,015,000 14,672,000 20,470,000 22,912,000 29,798,000 36,988,000 43,145,000  
        total liabilities and shareholders’ equity
           277,079,000 313,335,000 356,314,000 437,492,000 378,269,000 493,071,000 527,421,000 560,132,000 590,969,000 457,551,000 345,638,000 369,263,000 419,268,000                 125,517,000        41,417,000 58,637,000 74,911,000 11,090,000 25,294,000 40,993,000 56,067,000  12,014,000 23,058,000 17,693,000 26,575,000 32,761,000 10,066,000 21,089,000 26,982,000 34,984,000 40,948,000 47,753,000 45,704,000 37,106,000 44,786,000 53,486,000   
        omidria contract royalty asset, current
            29,243,000 29,665,000                                                            
        omidria royalty obligation, current
            18,884,000 19,434,000                                                            
        lease liabilities, current
            5,770,000 5,573,000                                                            
        omidria contract royalty asset, short-term
              29,519,000 29,373,000 29,228,000 29,084,000 28,940,000 28,797,000 47,744,000 43,794,000 44,110,000 44,319,000                                                  
        current portion of omidria royalty obligation
              19,130,000 8,576,000 6,654,000 4,777,000 2,943,000 1,152,000                                                      
        current portion of lease liabilities
              5,342,000 5,160,000 4,888,000 4,686,000 4,427,000 4,310,000 4,409,000 4,145,000 3,925,000 5,255,000 5,092,000 4,874,000 3,803,000 3,782,000 3,754,000 3,702,000 3,597,000 3,504,000 3,055,000 2,636,000 2,561,000                                       
        current portion of convertible senior notes
                                                                         
        other accrued liabilities - noncurrent
               2,088,000    444,000 999,000 961,000 922,000 1,115,000                                                  
        ​
                                                                         
        current portion of unsecured convertible senior notes
                94,909,000 94,730,000 94,554,000 94,381,000                                                      
        unsecured convertible senior notes
                221,828,000 221,516,000 221,209,000 220,906,000 314,819,000 314,358,000 313,904,000 313,458,000 313,018,000 312,585,000 312,159,000 236,288,000 232,808,000 163,372,000 160,746,000 158,213,000 155,771,000 153,416,000 151,182,000 148,981,000                                      
        shareholders’ equity:
                                                                         
        current assets from discontinued operations
                                                                         
        advanced payments, non-current
                       67,000 157,000 205,000 741,000 625,000 870,000 896,000 1,013,000 1,159,000 1,221,000 1,161,000 1,228,000 1,070,000 1,310,000 1,630,000 2,435,000                                   
        deferred tax liability
                            4,157,000                                             
        deferred rent
                                   8,177,000 8,325,000 8,454,000 8,583,000 8,718,000 8,838,000 8,940,000 9,041,000 9,142,000 9,189,000 9,205,000 9,220,000 9,207,000 9,174,000 9,132,000 9,091,000 9,050,000 8,935,000 8,673,000 8,411,000 8,148,000 7,631,000                 
        current portion of lease financing obligations
                                   889,000 560,000 608,000 513,000 490,000 368,000 250,000 228,000 198,000                              
        lease obligation, net of current portion
                                   1,578,000                                      
        notes payable
                                             69,833,000 49,973,000 49,769,000                          
        prepaid expense
                                    8,334,000 6,336,000 5,441,000 7,036,000 5,691,000 3,446,000 3,260,000 1,766,000 1,355,000 2,282,000 2,460,000 1,894,000 1,410,000 1,423,000 1,784,000 1,191,000                      
        notes payable and lease financing obligations
                                    131,695,000 129,750,000 85,037,000 84,117,000 82,778,000 81,511,000 80,503,000 79,512,000                              
        restricted cash and investments
                                        5,835,000 5,835,000 5,835,000 5,835,000 10,835,000 10,679,000 10,679,000 10,679,000                          
        current portion of deferred rent
                                        381,000 288,000                                
        other assets
                                            73,000 73,000 73,000 219,000 467,000 488,000 439,000 472,000 408,000 439,000 267,000 100,000 113,000 127,000 143,000 159,000 76,000 88,000 102,000 102,000 119,000 136,000 156,000 135,000 86,000 63,000 90,000 119,000 62,000 
        current portion of notes payable
                                            190,000 193,000 69,000 73,000             6,373,000 6,210,000 6,050,000 5,895,000 5,275,000 3,719,000 2,202,000 395,000 67,000 5,269,000 5,104,000 4,931,000 4,750,000 
        notes payable, net of current portion
                                            70,289,000                             
        other current assets
                                                99,000 108,000 116,000 120,000 148,000 146,000 143,000                   
        restricted cash
                                                679,000 679,000 679,000 679,000 679,000 679,000 679,000 679,000 679,000 679,000 679,000 679,000 563,000 563,000 563,000 193,000 193,000 193,000 193,000 193,000 193,000 193,000 193,000 193,000 193,000 
        current portion of notes payable, net of discount
                                                9,577,000 9,294,000 9,019,000 6,446,000 3,991,000 1,609,000  5,600,000 4,019,000 2,485,000 997,000               
        notes payable, net of current portion and discount
                                                18,974,000 21,477,000 23,906,000 26,263,000 28,551,000 30,761,000 32,212,000 14,898,000 16,376,000 17,809,000 19,200,000 20,103,000              
        authorized shares—20,000,000 at december 31, 2014 and 2013;
                                                                         
        issued and outstanding shares—none
                                                                         
        authorized shares—150,000,000 at december 31, 2014 and 2013;
                                                                         
        issued and outstanding shares—34,185,464 and 30,359,508 at december 31, 2014 and 2013, respectively
                                                   342,000                      
        grant and other receivables
                                                    381,000 252,000 488,000 379,000 881,000 715,000 2,003,000 1,934,000 467,000 767,000 1,643,000 876,000 776,000 2,460,000 1,295,000 1,479,000 500,000 935,000 555,000 248,000 320,000 
        prepaid expenses
                                                    1,052,000 1,110,000 1,312,000                   
        authorized shares—20,000,000 at september 30, 2014 (unaudited) and december 31, 2013;
                                                                         
        authorized shares—150,000,000 at september 30, 2014 (unaudited) and december 31, 2013;
                                                                         
        issued and outstanding shares—34,022,145 and 30,359,508 at september 30, 2014 (unaudited) and december 31, 2013, respectively
                                                    340,000                     
        authorized shares—20,000,000 at june 30, 2014 (unaudited) and december 31, 2013;
                                                                         
        authorized shares—150,000,000 at june 30, 2014 (unaudited) and december 31, 2013;
                                                                         
        issued and outstanding shares—33,994,432 and 30,359,508 at june 30, 2014 (unaudited) and december 31, 2013, respectively
                                                     340,000                    
        authorized shares—20,000,000 at march 31, 2014 (unaudited) and december 31, 2013;
                                                                         
        authorized shares—150,000,000 at march 31, 2014 (unaudited) and december 31, 2013;
                                                                         
        issued and outstanding shares—33,901,591 and 30,359,508 at march 31, 2014 (unaudited) and december 31, 2013, respectively
                                                      339,000                   
        prepaid expenses and other current assets
                                                       337,000 391,000 494,000 494,000 416,000 341,000 485,000 438,000 502,000 210,000 333,000 346,000 282,000 174,000 214,000 149,000 111,000 128,000 
        deferred revenue
                                                           970,000 2,410,000 3,738,000 4,995,000 5,748,000 6,282,000 6,788,000 7,283,000 8,014,000 362,000 478,000 615,000 702,000 1,019,000 
        shareholders' equity:
                                                                         
        authorized shares—20,000,000 at december 31, 2013 and 2012;
                                                                         
        authorized shares—150,000,000 at december 31, 2013 and 2012;
                                                                         
        issued and outstanding shares—30,359,508 and 25,897,483 at december 31, 2013 and 2012, respectively
                                                       304,000                  
        total shareholders' deficit
                                                       -18,384,000                  
        total liabilities and shareholders' equity
                                                       16,535,000                  
        authorized shares—20,000,000 at september 30, 2013 (unaudited) and december 31, 2012;
                                                                         
        authorized shares—150,000,000 at september 30, 2013 (unaudited) and december 31, 2012;
                                                                         
        issued and outstanding shares—29,849,830 and 25,897,483 at september 30, 2013 (unaudited) and december 31, 2012, respectively
                                                        298,000                 
        deferred rent, net of current portion
                                                         6,605,000 3,772,000 3,685,000              
        authorized shares—20,000,000 at june 30, 2013 (unaudited) and december 31, 2012;
                                                                         
        authorized shares—150,000,000 at june 30, 2013 (unaudited) and december 31, 2012;
                                                                         
        issued and outstanding shares—29,832,771 and 25,897,483 at june 30, 2013 (unaudited) and december 31, 2012, respectively
                                                         298,000                
        authorized shares—20,000,000 at march 31, 2013 (unaudited) and december 31, 2012;
                                                                         
        authorized shares—150,000,000 at march 31, 2013 (unaudited) and december 31, 2012;
                                                                         
        issued and outstanding shares—25,910,399 and 25,897,483 at march 31, 2013 (unaudited) and december 31, 2012, respectively
                                                          259,000               
        commitments and contingencies shareholders’ equity:
                                                                         
        authorized shares—20,000,000 at december 31, 2012 and 2011;
                                                                         
        authorized shares—150,000,000 at december 31, 2012 and 2011;
                                                                         
        issued and outstanding shares—25,897,483 and 22,430,234 at december 31, 2012 and 2011, respectively
                                                           259,000              
        accrued settlement costs
                                                            3,953,000             
        notes payable, less current portion
                                                            8,679,000 10,345,000 11,969,000 13,551,000 15,092,000 16,594,000 18,058,000 9,360,000 8,873,000 4,874,000 6,376,000 7,827,000 9,244,000 
        other liabilities
                                                            3,091,000 3,009,000 3,061,000           
        authorized shares—20,000,000 at september 30, 2012 (unaudited) and december 31, 2011;
                                                                         
        authorized shares—150,000,000 at september 30, 2012 (unaudited) and december 31, 2011;
                                                                         
        issued and outstanding shares—25,885,161 and 22,430,234 at september 30, 2012 (unaudited) and december 31, 2011, respectively
                                                            259,000             
        deferred offering costs
                                                             235,000           1,034,000 
        authorized shares—20,000,000 at june 30, 2012 (unaudited) and december 31, 2011; issued and outstanding shares—none
                                                                         
        authorized shares—150,000,000 at june 30, 2012 (unaudited) and december 31, 2011; issued and outstanding shares—22,497,047 and 22,430,234 at june 30, 2012 (unaudited) and december 31, 2011, respectively
                                                             225,000            
        authorized shares—20,000,000 at march 31, 2012 (unaudited) and december 31, 2011;
                                                                         
        authorized shares—150,000,000 at march 31, 2012 (unaudited) and december 31, 2011;
                                                                         
        issued and outstanding shares—22,451,837 and 22,430,234 at march 31, 2012 (unaudited) and december 31, 2011, respectively
                                                              225,000           
        authorized shares—20,000,000 at december 31, 2011 and 2010;
                                                                         
        authorized shares—150,000,000 at december 31, 2011 and 2010;
                                                                         
        issued and outstanding shares—22,430,234 and 21,920,836 at december 31, 2011 and 2010, respectively
                                                               224,000          
        total shareholders’ (deficit) equity
                                                               -5,554,000          
        authorized shares – 20,000,000;
                                                                         
        issued and outstanding – none
                                                                         
        authorized shares — 150,000,000 at september 30, 2011 (unaudited) and december 31, 2010;
                                                                         
        issued and outstanding shares—22,313,788 and 21,920,836 at september 30, 2011 (unaudited) and december 31, 2010, respectively
                                                                223,000         
        deficit accumulated during the development stage
                                                                -165,932,000 -159,420,000 -154,129,000 -147,587,000 -140,356,000 -132,801,000 -124,997,000 -118,336,000 -112,754,000 
        authorized shares — 150,000,000 at june 30, 2011 (unaudited) and december 31, 2010;
                                                                         
        issued and outstanding shares—22,206,112 and 21,920,836 at june 30, 2011 (unaudited) and december 31, 2010, respectively
                                                                 222,000        
        authorized shares — 150,000,000 at march 31, 2011 (unaudited) and december 31, 2010;
                                                                         
        issued and outstanding shares—22,137,812 and 21,920,836 at march 31, 2011 (unaudited) and december 31, 2010, respectively
                                                                  221,000       
        commitments and contingencies shareholders’ equity
                                                                         
        authorized shares—and 150,000,000 at december 31, 2010 and 2009;
                                                                         
        issued and outstanding shares—21,920,836 and 21,285,577 at december 31, 2010 and 2009, respectively
                                                                   219,000      
        accumulated comprehensive income
                                                                         
        authorized shares — 150,000,000 at september 30, 2010 (unaudited) and december 31, 2009;
                                                                         
        issued and outstanding shares—21,504,730 and 21,285,577 at september 30, 2010 (unaudited) and december 31, 2009, respectively
                                                                    215,000     
        accumulated other comprehensive income
                                                                      42,000 41,000  
        authorized shares — 150,000,000 at june 30, 2010 (unaudited) and december 31, 2009;
                                                                         
        issued and outstanding shares—21,434,491 and 21,285,577 at june 30, 2010 (unaudited) and december 31, 2009, respectively
                                                                     214,000    
        liabilities, convertible preferred stock and shareholders’ equity
                                                                         
        intangible assets
                                                                         
        preferred stock warrant liability
                                                                        902,000 
        convertible preferred stock:
                                                                         
        liquidation preference of 92,084 at december 31, 2008
                                                                         
        issued and outstanding shares — 0 and 11,392,057 at december 31, 2009 and 2008, respectively
                                                                         
        authorized shares — 20,000,000 and 13,425,919 at december 31, 2009 and 2008, respectively
                                                                         
        designated convertible — 0 and 13,425,919 at december 31, 2009 and 2008, respectively
                                                                         
        authorized shares — 150,000,000 and 20,410,000 december 31, 2009 and 2008, respectively
                                                                         
        issued and outstanding shares — 21,285,577 and 2,951,406 december 31, 2009 and 2008, respectively
                                                                       213,000  
        total liabilities, convertible preferred stock, and shareholders’ equity
                                                                       62,062,000 6,910,000 
        issued and outstanding shares—11,514,506 at september 30, 2009 (unaudited) and 11,392,057 at december 31, 2008;
                                                                         
        liquidation preference of 93,284 at september 30, 2009 (unaudited) and 92,084 at december 31, 2008
                                                                        91,019,000 
        authorized shares — 13,425,919 at september 30, 2009 (unaudited) and december 31, 2008
                                                                         
        designated convertible — 13,425,919 at september 30, 2009 (unaudited) and december 31, 2008
                                                                         
        authorized shares — 20,410,000 at september 30, 2009 (unaudited) and december 31, 2008;
                                                                         
        issued and outstanding shares—2,930,167 and 2,951,406 at september 30, 2009 (unaudited) and december 31, 2008, respectively
                                                                        30,000 
        accumulated other comprehensive loss
                                                                        23,000 
      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 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-12-31 2010-09-30 2010-06-30 2010-06-16 2010-03-31 2009-12-31 
                                                                           
          operating activities:
                                                                           
          net income
        56,060,000                                                                -6,661,000   
          adjustments to reconcile net income to net cash from operating activities:
                                                                           
          stock-based compensation expense
        1,889,000 1,733,000 1,941,000 2,065,000 2,453,000 2,426,000 2,641,000 2,768,000 2,658,000 2,691,000 3,235,000 2,771,000 2,953,000 3,264,000 3,844,000 3,072,000 3,892,000 5,548,000 5,694,000 3,117,000 3,271,000 3,803,000 3,824,000 3,822,000 3,476,000 3,317,000 3,495,000 3,599,000 3,374,000 2,817,000 2,930,000 3,000,000 2,966,000 3,239,000 3,041,000 3,132,000 3,276,000 4,016,000 2,535,000 2,609,000 4,422,000 2,308,000 2,375,000 2,381,000 2,517,000 3,835,000 1,666,000 1,629,000 1,788,000 1,888,000 2,211,000 1,060,000 1,093,000 2,005,000 576,000 569,000 1,131,000 455,000 467,000 547,000 458,000 604,000 574,000 527,000 473,000 473,000 252,000 
          amortization of discount and issuance costs on 2026 notes and 2029 notes
        1,460,000                                                                   
          depreciation and amortization
        239,000 235,000 240,000 200,000 289,000 301,000 237,000 208,000 204,000 205,000 197,000 332,000 186,000 163,000 320,000 191,000 278,000 324,000 317,000 355,000 390,000 398,000 404,000 412,000 402,000 528,000 435,000 450,000 377,000 308,000 225,000 206,000 223,000 173,000 144,000 119,000 115,000 89,000 89,000 69,000 53,000 48,000 54,000 52,000 55,000 80,000 82,000 82,000 82,000 80,000 77,000 78,000 67,000 88,000 67,000 72,000 93,000 99,000 109,000 59,000 168,000 64,000 147,000 137,000 124,000 124,000 103,000 
          remeasurement on fair value of financial instruments
        -73,146,000 136,037,000 8,822,000                                                                 
          non-cash interest remeasurement on omidria royalty obligation
        -1,410,000                                                                   
          non-cash interest on omidria contract royalty asset
        -3,132,000 -3,196,000 -3,682,000 -3,885,000 -3,954,000                                                               
          remeasurement of omidria contract royalty asset
        -1,619,000  13,402,000 3,147,000 -166,000  -731,000                                                             
          amortization of premium and issuance costs on term debt
         -851,000                                                                  
          changes in operating assets and liabilities:
                                                                           
          omidria contract royalty asset
        7,343,000 9,219,000 9,153,000 8,569,000 6,682,000 10,065,000 9,303,000 10,920,000 9,363,000 10,695,000 9,986,000 10,711,000 9,203,000 72,254,000 -20,779,000 7,129,000 6,835,000                                                   
          prepaid expenses and other
        87,000 -4,024,000 2,398,000 787,000 -472,000 -1,273,000 -100,000 6,980,000 -5,090,000 -3,854,000 1,920,000 -462,000 -582,000 -445,000                                                      
          receivables
        -1,115,000 -4,009,000 -632,000 800,000 663,000 -1,345,000 1,686,000 -438,000 454,000 -1,218,000 4,312,000 -1,157,000 203,188,000 -199,367,000 625,000 1,776,000 21,900,000 -4,257,000 -2,060,000 -7,012,000 -20,985,000 33,538,000 -21,599,000 8,337,000 11,068,000 -5,254,000 -1,416,000 -3,797,000 -1,900,000 -20,521,000 -768,000 -1,347,000 16,962,000 7,427,000 -5,496,000 -5,594,000 -1,444,000 -1,580,000 -1,651,000 -2,160,000 -129,000 -4,007,000 561,000 -2,533,000 -146,000                       
          inventory
        -183,000                  266,000 213,000 164,000 187,000 350,000 -681,000 -64,000 26,000 14,000 -451,000 -648,000 126,000 21,000 12,000 196,000 379,000 83,000 55,000 168,000 268,000 384,000 192,000 -1,500,000                           
          accounts payable and accrued expense
        -979,000 -1,753,000 3,130,000 8,182,000 -4,977,000 522,000 -4,927,000 -1,381,000 -4,997,000 941,000 982,000 2,026,000 733,000 879,000 1,109,000 3,018,000 -15,671,000                                                   
          net cash from operating activities
        -14,506,000 -39,842,000 -18,473,000 -21,938,000 -35,841,000 -28,980,000 -32,058,000 -45,985,000 -41,780,000 -34,825,000 -32,647,000 -32,341,000 174,539,000 -25,382,000 -26,439,000 -19,469,000 -15,193,000 -18,215,000 -23,661,000 -27,592,000 -40,254,000 -18,407,000 -34,941,000 -37,597,000 -9,141,000 -23,014,000 -7,522,000 -16,589,000 -12,948,000 -24,657,000 -36,874,000 -30,910,000 -11,296,000 -4,172,000 -11,194,000 -8,159,000 -12,702,000 -10,863,000 -11,218,000 -12,795,000 -16,628,000 -16,600,000 -14,588,000 -16,545,000 -17,476,000 -15,691,000 -15,942,000 -15,272,000 -11,139,000 -296,000 -11,038,000 -9,393,000 -8,968,000 -12,784,000 -7,401,000 -8,861,000 -5,505,000 -7,361,000 -4,107,000 -6,325,000 -7,875,000 6,622,000 -5,898,000 -7,661,000 -7,565,000 -7,565,000 -4,515,000 
          capital expenditures
         -11,000 -13,000 -41,000 -26,000 -1,000 -80,000 -58,000 -118,000 -33,000 -13,000 3,000  -74,000 -103,000 -88,000 -12,000 -73,000 -144,000 -66,000 -16,000 -39,000 -97,000 -182,000 -93,000 -88,000 -203,000 -183,000 -34,000 -244,000 -72,000 -73,000  4,000 -6,000 -67,000 -48,000 -1,000 -88,000 -407,000 -90,000 -73,000 -72,000 -41,000 -7,000 -511,000 -682,000 -48,000 -154,000 -240,000 -365,000 -365,000 -228,000 
          free cash flows
         -39,842,000 -18,484,000 -21,951,000 -35,882,000 -29,006,000 -32,059,000 -46,065,000 -41,838,000 -34,943,000 -32,680,000 -32,341,000 174,539,000 -25,395,000 -26,436,000 -19,469,000  -18,289,000 -23,764,000 -27,680,000 -40,266,000 -18,407,000 -35,014,000 -37,741,000 -9,207,000 -23,030,000 -7,561,000 -16,686,000 -13,130,000 -24,750,000 -36,962,000 -31,113,000 -11,479,000 -4,172,000 -11,228,000 -8,403,000 -12,774,000 -10,863,000 -11,218,000 -12,795,000 -16,628,000 -16,600,000 -14,661,000 -16,545,000  -15,691,000 -15,942,000 -15,268,000 -11,145,000 -363,000 -11,086,000 -9,394,000 -9,056,000 -13,191,000 -7,491,000 -8,934,000 -5,577,000 -7,402,000 -4,114,000 -6,836,000 -8,557,000 6,574,000 -6,052,000 -7,901,000 -7,930,000 -7,930,000 -4,743,000 
          investing activities:
                                                                           
          proceeds from the sale and maturities of investments
        30,050,000 38,400,000 10,500,000 21,700,000 39,300,000 100,546,000 331,807,000 211,727,000 425,687,000 295,368,000 234,057,000 174,447,000 342,610,000 216,994,000 33,400,000 45,000,000 6,200,000 18,500,000 18,000,000 30,500,000 33,000,000 8,000,000 11,678,000 32,750,000 14,018,000 18,400,000 9,500,000 15,500,000 11,750,000 21,000,000 33,500,000 31,000,000 9,000,000 5,649,000 4,501,000 6,150,000 11,778,000 9,882,000 17,000,000 16,225,000 14,650,000 19,850,000 14,500,000 19,750,000 17,300,000 14,500,000 14,900,000                     
          purchases of investments
        -1,316,000 -166,854,000 -17,350,000 -390,000 -718,000 -65,566,000 -295,768,000       -325,472,000 -404,000 -20,156,000 -83,013,000 -32,001,000 -1,000 -1,000 -3,000 -4,000 -130,002,000 -12,000 -3,176,000 -57,623,000 -122,000 -191,000 -281,000 -23,268,000 -348,000 -44,896,000 -270,000 -217,000 -64,007,000 -60,000 -1,042,000 -15,845,000 -37,496,000 -20,607,000 -18,000 -12,350,000 -13,000 -14,000 -79,389,000 -2,000 -3,000 -5,000 -58,839,000 -24,219,000 -3,346,000 -16,162,000 -3,455,000 -10,728,000    -9,000,000 -19,000,000 -38,760,000 -3,000 -2,000 -2,000 -61,006,000 
          purchases of property and equipment
         -11,000 -13,000 -41,000 -26,000 -1,000 -80,000 -58,000 -118,000 -33,000   -13,000 3,000   -74,000 -103,000 -88,000 -12,000 -73,000 -144,000 -66,000 -16,000 -39,000 -97,000 -182,000 -93,000 -88,000 -203,000 -183,000 -34,000 -244,000 -72,000      -73,000     4,000 -6,000 -67,000 -48,000 -1,000 -88,000 -407,000 -90,000 -73,000 -72,000 -41,000 -7,000 -511,000 -682,000 -48,000 -154,000 -240,000 -365,000 -365,000 -228,000 
          net cash from investing activities
        28,734,000 111,546,000 -6,861,000 21,297,000 38,541,000 34,954,000 36,038,000 73,150,000 -61,925,000 116,243,000 57,167,000 35,375,000 -181,331,000 -108,491,000 32,999,000 24,741,000 -76,813,000 112,418,000 17,896,000 30,411,000 32,985,000 7,996,000 -118,397,000 32,594,000 10,776,000 -39,239,000 9,339,000 15,212,000 11,287,000 -2,361,000 33,064,000 -14,099,000 8,547,000 5,432,000 -59,540,000 5,846,000 10,664,000 -6,011,000 -20,540,000 -4,416,000 14,632,000 7,447,000 14,414,000 19,622,000 -62,089,000 14,482,000 14,887,000 15,699,000 -38,911,000 -4,936,000 10,450,000 -6,312,000 8,707,000 8,332,000 -29,659,000 742,000 19,678,000 7,359,000 4,743,000 6,489,000 -1,682,000 -7,047,000 7,141,000 10,974,000 8,856,000 8,856,000 -56,574,000 
          financing activities:
                                                                           
          exercise of stock options
        8,208,000                                                                   
          repayment of 2026 notes
        -17,077,000                                                                   
          principal payments on omidria royalty obligation
        -4,670,000 -4,700,000 -3,555,000 -4,979,000 -1,722,000 -3,655,000 -4,425,000 -5,559,000 -5,141,000 -298,000 -387,000 -189,000 -278,000                                                       
          repurchases of common stock
        -4,152,000                                                                 
          net share settlement of equity awards
        -4,108,000                                                                   
          payments on finance lease obligations
        -183,000 -180,000 -177,000 -212,000 -180,000         -235,000 -163,000 -99,000 -253,000 -1,117,000 -130,000 -280,000 -296,000                                               
          net cash from financing activities
        -21,982,000 -64,439,000 25,825,000 -1,716,000 -1,839,000 -4,095,000 -4,579,000 -26,876,000 98,431,000 -104,953,000 -483,000 -260,000 -388,000 -651,000 124,837,000 -99,000 161,000 -810,000 478,000 855,000 5,796,000 -163,000 172,449,000 -151,000 2,399,000 56,476,000 3,058,000 1,309,000 -146,000 30,092,000 3,714,000 46,703,000 544,000 1,108,000 68,374,000 4,417,000 1,096,000 8,801,000 37,466,000 20,822,000 1,609,000 9,917,000 -1,786,000 -1,957,000 80,652,000 813,000 272,000 539,000 49,233,000 5,466,000 22,000 16,140,000 22,000 4,912,000 30,852,000 -1,415,000 -1,376,000 -881,000 93,000 74,000 10,200,000 907,000 -1,320,000 -1,254,000 -1,297,000 -1,297,000 60,542,000 
          net increase in cash and cash equivalents
        -7,754,000    861,000  -599,000   -23,535,000        93,393,000 -5,287,000 3,674,000 -1,473,000 -10,574,000   4,034,000 -5,777,000            -8,073,000 5,708,000 3,611,000 -387,000 764,000 -1,960,000 1,120,000 1,087,000       435,000 -239,000 460,000 -6,208,000 -9,534,000 12,797,000 -883,000 729,000 238,000 643,000 482,000 -77,000 2,059,000 -6,000 -6,000 -547,000 
          cash and cash equivalents at beginning of period
        9,660,000 3,400,000 7,105,000 11,009,000 100,808,000 10,501,000 3,084,000 5,861,000 3,394,000 2,224,000 1,365,000 354,000 1,384,000 1,520,000 4,005,000 3,278,000 820,000 820,000 
          cash and cash equivalents at end of period
        1,906,000 7,265,000 491,000 -2,357,000 4,261,000 1,879,000 -599,000 289,000 1,831,000 -23,535,000 24,037,000 2,774,000 3,829,000 -134,524,000 131,397,000 5,173,000 8,963,000 93,393,000 -5,287,000 3,674,000 9,028,000 -10,574,000 19,111,000 -5,154,000 7,118,000 -5,777,000 4,875,000 -68,000 4,054,000 3,074,000 -96,000 1,694,000 1,189,000 2,368,000 -2,360,000 2,104,000 1,282,000 -8,073,000 5,708,000 3,611,000 978,000 764,000 -1,960,000 1,120,000 1,441,000 -396,000 -783,000 966,000 567,000 234,000 -566,000 435,000 1,281,000 460,000 -6,208,000 -9,534,000 16,802,000 -883,000 729,000 238,000 3,921,000 482,000 -77,000 2,059,000 814,000 814,000 -547,000 
          supplemental cash flow information
                                                                           
          cash paid for interest
        5,565,000 8,674,000 8,048,000 8,479,000 10,218,000 7,564,000 13,177,000 7,793,000 7,152,000 6,122,000 7,936,000 7,932,000 7,933,000 5,741,000 4,439,000 3,031,000 5,967,000 2,987,000 5,877,000 3,017,000 5,995,000 3,039,000 1,843,000 6,632,000 89,000 6,651,000 80,000 6,649,000 82,000 2,100,000 2,797,000 2,260,000 1,739,000 1,785,000 1,738,000 1,705,000 1,667,000 1,664,000 1,624,000 1,229,000 776,000 2,095,000 670,000 726,000 745,000 743,000 743,000 497,000 691,000 466,000 465,000 465,000 313,000 399,000 334,000 367,000 402,000 430,000 432,000 378,000 221,000  309,000 353,000 393,000 393,000 433,000 
          cash paid for income taxes
        57,000 -29,000   274,000 35,000                                                             
          net loss
         86,451,000 -30,917,000 -25,424,000 -33,460,000  -32,232,000 -56,041,000 -37,184,000  -37,750,000 -37,294,000 -33,701,000  -17,456,000 -30,849,000 -33,011,000  -22,703,000 -28,593,000 -35,090,000 -37,273,000 -38,463,000 -33,294,000 -29,031,000 -29,225,000 -16,463,000 -14,453,000 -24,345,000 -23,534,000 -39,473,000 -33,696,000 -30,054,000 -16,551,000 -7,482,000 -14,359,000 -15,089,000 -19,632,000 -13,962,000 -12,612,000 -20,539,000 -19,826,000 -19,921,000 -16,680,000 -18,669,000 -20,713,000 -18,327,000 -17,991,000 -16,642,000 -1,845,000 -13,870,000 -13,592,000 -10,489,000 -7,734,000 -13,276,000 -8,539,000 -8,895,000 -10,201,000 -6,512,000 -5,291,000 -6,542,000 -7,231,000 -7,555,000   -6,661,000 -5,582,000 
          adjustments to reconcile net loss to net cash from operating activities:
                                                                           
          gain on sale of zaltenibart
                                                                           
          loss on early extinguishment of 2026 notes
                                                                          
          gain on early extinguishment on term debt, gross
                                                                           
          remeasurement on omidria contract royalty asset
                -2,339,000 -26,243,000 -10,100,000 -3,147,000 -1,677,000                                                       
          accretion on u.s. government treasury bills
             -76,000 -883,000 -1,519,000 -1,893,000 -1,434,000 -2,190,000 -2,774,000 -2,316,000                                                       
          gross cash proceeds from sale of zaltenibart
                                                                           
          proceeds from registered direct offering
                                                                          
          proceeds from issuance of common stock from the atm facility
         3,724,000 9,005,000                                                                 
          proceeds upon exercise of stock options
         7,338,000 225,000 25,000 63,000 495,000 17,000 3,000 32,000              2,200,000 66,000 2,712,000       2,190,000 687,000                                   
          repayment of term debt principal
                                                                           
          prepayment premium and transaction costs on repayment of term debt
                                                                           
          payment of debt issuance costs related to 2029 notes
                                                                         
          proceeds from sale of future royalties
             115,525,000                                                           
          payment on maturity of 2023 notes
                                                                           
          cash paid to repurchase 2026 notes
                                                                           
          exchange of 2026 notes for 2029 notes
                                                                         
          exchange of 2026 notes for common stock
         8,085,000                                                                 
          equipment acquired under finance lease
             1,014,000 140,000                                                             
          amortization of discount and issuance costs on convertible notes
          1,478,000 840,000 148,000 146,000 144,000                                                             
          remeasurement on omidria royalty obligation
          -22,293,000                                                                 
          cash paid to repurchase 2026 convertible senior notes
                                                                          
          net decrease in cash and cash equivalents
          491,000      -5,274,000   2,774,000 -7,180,000  131,397,000 5,173,000 -91,845,000           -68,000 -1,807,000    -2,205,000    -942,000         -396,000   -817,000                   
          loss on early extinguishment of 2026 convertible senior notes
                                                                           
          amortization of non-cash interest and issuance costs on term debt
           -3,539,000 325,000                                                               
          exchange of 2026 notes for share-settled liability
                                                                           
          non-cash interest remeasurement on the omidria royalty obligation
            -3,372,000                                                               
          gain on early extinguishment of convertible senior notes
                                                                           
          payment on maturity of 2023 convertible senior notes
                                                                           
          repurchase of 2026 convertible senior notes
                                                                           
          amortization of non-cash interest and issuance costs on long-term debt
              373,000                                                             
          non-cash interest earned on omidria contract royalty asset
              -4,210,000 -4,271,000 -4,343,000  -3,730,000 -3,829,000 -3,925,000                                                       
          non-cash interest on royalty obligation
                                                                           
          principal payments on finance lease obligations
              -171,000 -141,000 -134,000  -149,000 -168,000 -110,000                                                       
          non-cash interest earned on royalty obligation
                                                                           
          non-cash interest on convertible notes and royalty obligations
                1,387,000                                                           
          purchases of investments and other
                -487,554,000  -176,857,000 -138,797,000 -523,941,000                                                       
          repurchases on common stock
                -11,851,000                                                           
          non-cash interest expense on convertible senior notes
                                                                           
          interest on omidria contract royalty asset
                                                                           
          gain on sale of omidria, gross
                                                                           
          non-cash interest expense on future royalty obligation
                                                                           
          cash proceeds on sale of omidria
                                                                           
          payments on convertible senior notes
                                                                           
          proceeds upon entering into omidria royalty obligation
                                                                           
          at the market offering costs
                         -241,000                                               
          non-cash interest expense on unsecured convertible debt
                  491,000 482,000 477,000                                                       
          early termination of operating lease
                     -454,000                                                   
          proceeds upon exercise of stock options and warrants
                     1,000 414,000 307,000 608,000 1,135,000 6,333,000     2,564,000 3,326,000 1,600,000 108,000 12,000      4,490,000 1,147,000 905,000 371,000 268,000 1,609,000 288,000 610,000 385,000 1,576,000                       
          ​
                                                                           
          property acquired under finance lease
                      249,000   150,000 100,000   172,000 22,000 22,000 554,000                                         
          noncash adjustments on buyout of equipment finance leases
                                                                           
          loss on early extinguishment of debt
                                                                          
          deferred income tax
                             -4,157,000                                              
          fair value settlement upon termination of cap call contract
                                                                          
          principal payments on omidria royalty obligations
                                                                           
          proceeds from issuance of convertible debt
                                                                           
          payments for debt issuance costs
                                                                           
          purchases of capped calls related to convertible senior notes
                                                                          
          payments for repurchases of convertible senior notes
                                                                          
          proceeds from termination of capped call contracts
                                                                          
          proceeds from issuance of common stock
                                                                          
          release in restricted investments
                                                                           
          non-cash interest expense
                      461,000 454,000 446,000 440,000 434,000 426,000 396,000 3,480,000 3,010,000 2,626,000 2,533,000 2,442,000 2,355,000 2,234,000 2,201,000 1,327,000 1,805,000 1,417,000 1,086,000 1,131,000 1,044,000 1,017,000 995,000 266,000 511,000 471,000 213,000 386,000 217,000 230,000 212,000 206,000 201,000 195,000 136,000 131,000 129,000 122,000 120,000 64,000 90,000 97,000 103,000 105,000 96,000 95,000 56,000 40,000 52,000 22,000 60,000 60,000 62,000 
          proceeds from omidria liability for future royalties
                                                                           
          prepaid expenses and other assets
                       -4,260,000 592,000 -197,000 -536,000 595,000 5,038,000 -7,349,000 1,652,000 1,253,000 628,000 -1,210,000 -1,016,000 -135,000 2,110,000 2,110,000 -1,678,000 -90,000 -840,000  -2,245,000 -186,000 -1,494,000  927,000                             
          gain on the sale of omidria, gross
                                                                           
          accounts payable and other expense
                                                                           
          other liabilities non-current
                                                                           
          cash proceeds for the sale of omidria
                                                                           
          proceeds from issuance of convertible senior notes
                                                                           
          accounts payable and accrued expenses
                          -5,073,000 3,307,000 6,562,000 -11,034,000 9,523,000 -20,072,000 1,847,000 6,362,000 5,074,000 -4,036,000 5,883,000         -16,000 -35,000 -1,540,000 1,272,000      -330,000 319,000 3,960,000  -548,000 -226,000 1,227,000 -745,000 1,764,000 -407,000 345,000 3,074,000 417,000 -1,716,000 -1,436,000 2,063,000 557,000 -5,000 -1,153,000 -1,153,000 -107,000 
          proceeds from debt borrowings
                                                                           
          repayment of debt
                                                                           
          payments on debt prepayment and extinguishment
                                                                           
          principal payments on finance lease liabilities
                             -306,000 -359,000 -217,000 -313,000                                           
          conversion of accrued interest to debt
                                                                           
          fair value of warrants issued in connection with debt amendment
                                                                           
          proceeds from issuance of convertible senior notes, net of issuance costs
                                                                           
          fair value adjustment to convertible notes in equity
                                                                           
          premium paid for capped call option
                                                                           
          proceeds from borrowings under notes payable
                                           80,136,000                             
          payments on finance lease liabilities
                                  -268,000 -291,000 -254,000                                       
          conversion of accrued interest to notes payable
                                     162,000 1,337,000 1,071,000 838,000 848,000 839,000 823,000 805,000                               
          fair value of warrants issued in connection with notes payable amendment
                                                                           
          deferred rent
                                             -47,000 -16,000   33,000 42,000   115,000 262,000 262,000 263,000                   
          repayment of notes payable
                                                                           
          payments on lease financing obligations
                                     -586,000 -129,000 -93,000 -143,000    -51,000                               
          issuance of warrants in connection with amendments to notes payable
                                                                           
          property acquired under capital lease
                                     1,539,000 221,000   509,000 469,000 93,000 70,000 16,000                             
          accounts payable, accrued expenses and other
                                      64,000 -412,000 -1,835,000          1,950,000 715,000 -1,944,000                       
          release of restricted investments
                                                                          
          prepaid expenses
                                                                           
          proceeds from issuance of common stock and pre-funded warrants
                                             36,000 37,279,000                             
          payments on notes payable and lease financing obligations
                                         -179,000 -128,000                                 
          decrease in restricted investments
                                                                           
          issuance of warrants in connection with amendment to notes payable
                                                                          
          accounts payable, accrued expenses, and deferred rent
                                          -283,000 7,657,000 771,000                               
          increase in restricted cash and investments
                                                                           
          warrant modification expense
                                                     411,000 452,000 41,000  511,000           
          prepaid expenses and assets
                                                                           
          purchases and sales of property and equipment
                                             -48,000 -44,000       -16,000                      
          repayments on notes payable and lease financing obligations
                                                                           
          payments for debt prepayment and extinguishment costs
                                                                           
          payments on notes payable
                                              -28,000       -1,464,000     -1,598,000 -1,565,000 -1,531,000 -1,500,000 -996,000 -14,000 -13,000 -28,000 -8,880,000 -1,415,000 -1,383,000 -1,327,000 -1,327,000 -1,287,000 
          issuance of warrants in connection with the amendment to the loan agreement
                                                                           
          prepaid expenses not yet paid
                                                                           
          prepaid expenses and other noncurrent assets
                                                -420,000                           
          prepaid expenses and noncurrent assets
                                                                           
          deferred revenue
                                                         -970,000 -1,440,000 -1,328,000 -1,197,000 -753,000 -534,000 -492,000 -480,000 -722,000 11,792,000 -116,000 -137,000 -87,000 -87,000 -317,000 
          repayments on notes payable
                                                                           
          reduction of equipment cost basis due to assets purchased with grant funding
                                                     40,000           17,000         
          gain on sale of assets
                                                                           
          prepaid expenses, inventory and other current and noncurrent assets
                                                                           
          proceeds from issuance of common stock and pre-funded warrants, net of offering costs
                                                  79,076,000                       
          net proceeds from borrowings under notes payable
                                                     12,699,000                   
          principal payments on notes payable
                                                                           
          prepaid expenses and other current and noncurrent assets
                                                   -792,000 499,000 -145,000 222,000 -4,000 -1,060,000 53,000 103,000 3,000 -75,000 -196,000 136,000 -52,000 -326,000 -295,000 121,000 14,000 -41,000 -27,000 8,000 -48,000 -20,000 -20,000 -51,000 
          accounts payable and accrued liabilities
                                                                           
          proceeds from issuance of common stock, net of offering costs
                                                     5,000 37,749,000                   
          proceeds from issuance of common stock upon exercise of stock options and warrants
                                                                           
          gain on disposal of assets
                                                      -9,000                   
          grant and other receivables
                                                      -129,000 236,000 -109,000 502,000 -166,000 1,288,000 -69,000 -1,467,000 300,000 883,000 -775,000 -64,000 1,687,000 447,000 184,000 -979,000 435,000 -380,000 -307,000 -307,000 72,000 
          proceeds from issuance of common stock upon exercise of stock options & warrants
                                                                           
          proceeds from issuance of common stock upon exercise of stock options
                                                       534,000 249,000 598,000 22,000 20,000 22,000 18,000 111,000 116,000 124,000 115,000 107,000 87,000 286,000 45,000 95,000 129,000 30,000 30,000  
          proceeds from the sale of investments
                                                        19,934,000  13,844,000 9,851,000 12,250,000 19,467,000 9,250,000 815,000 19,750,000 7,400,000 4,750,000 7,000,000 8,000,000 12,000,000 46,056,000 11,117,000 9,000,000 9,000,000 4,500,000 
          proceeds from the sale and maturity of investments
                                                                           
          net decrease) increase in cash and cash equivalents
                                                                           
          operating activities
                                                                           
          accrued settlement costs
                                                                           
          other liabilities
                                                          1,026,000    82,000 -52,000 3,061,000           
          investing activities
                                                                           
          financing activities
                                                                           
          net (decrease) in cash and cash equivalents
                                                                           
          deferred offering costs
                                                                           
          proceeds from issuance of common stock upon direct offering
                                                                           
          deferred rent, net of current portion
                                                            87,000               
          loss on extinguishment of debt
                                                                           
          warrant modification expense and other
                                                                           
          purchase of patobios intellectual property assets
                                                                           
          reimbursement of patobios intellectual property assets
                                                                           
          proceeds from the maturities of investments
                                                                     1,000 -1,000 100,000 223,000 223,000 160,000 
          proceeds from issuance of common stock upon public offering
                                                                          
          net proceeds from borrowings under note payable
                                                                           
          issuance of common stock to patobios in connection with purchase of intellectual property assets
                                                                           
          issuance of warrants in connection with the vulcan funding agreement
                                                                           
          proceeds from borrowings under note payable, net of loan origination costs and prepayment penalty
                                                                 9,942,000       
          change in fair value of preferred stock warrant values and success fee liability
                                                                          15,000 
          loss on sale of investment securities
                                                                          4,000 
          proceeds from issuance of common stock upon initial public offering, net of offering costs of 6,388
                                                                           
          proceeds from issuance of convertible preferred stock, net of issuance costs
                                                                          
          other
                                                                           
          reduction of pp&e cost basis due to assets purchased with grant funding
                                                                           
          issuance of warrants
                                                                           
          other than temporary impairment and loss on sale of investment securities
                                                                        6,000 6,000  
          write-off of deferred public offering costs
                                                                           
          acquired in-process research and development
                                                                           
          changes in operating assets and liabilities, net of nura acquisition in 2006:
                                                                           
          deferred public offering costs
                                                                           
          cash paid for acquisition of nura, net of cash acquired of 87
                                                                           
          preferred stock and common stock issued in connection with nura acquisition
                                                                           
          other than temporary impairment loss on investments
                                                                           
          proceeds from the repayment of related party notes receivable
                                                                           
          repurchase of unvested common stock and series a convertible preferred stock
                                                                           
          realized loss on sale of investment securities
                                                                          
          proceeds from borrowings under note payable, net of loan origination costs
                                                                           
          purchase of equipment included in accounts payable and accrued expenses
                                                                           
          purchase of software financed with note payable
                                                                           
          vesting of early-exercised stock options
                                                                          
          issuance of warrants in connection with notes payable
                                                                           
          issuance of common stock in exchange for note receivable from related party
                                                                           
          changes in operating assets and liabilities, net of effect from nura acquisition in 2006:
                                                                           
          proceeds from issuance of common stock and exercise of stock options
                                                                           
          issuance of series e convertible preferred stock for 5.00 per share concurrent with acquisition of nura
                                                                           
          repurchase of series a convertible preferred stock and unvested common stock