7Baggers

Collegium Pharmaceutical, Inc
(NASDAQ:COLL) 

COLL stock logo

Collegium Pharmaceutical, Inc., a specialty pharmaceutical company, develops and commercializes medicines for pain management. Its portfolio includes Xtampza ER, an abuse-deterrent, extended-release, oral formulation of oxycodone; and Nucynta ER and Nucynta IR, which are extended-release and immedia...

Founded: 2002
Full Time Employees: 255
Sector: Healthcare
Industry: Drug Manufacturers-Specialty & Generic

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 
                                                 
      product revenues
    193,520,000 205,449,000 209,361,000 188,000,000 177,757,000 181,949,000 159,301,000 145,276,000 144,923,000 149,745,000 136,709,000 135,546,000 144,767,000 129,620,000 127,013,000 123,549,000 83,751,000 27,362,000 78,843,000 82,942,000 87,721,000 76,271,000 79,176,000 78,058,000 76,511,000 74,203,000 72,942,000 75,040,000 74,516,000 73,427,000 70,176,000 73,061,000 63,749,000 10,794,000 11,950,000 3,560,000 2,172,000 1,303,000 408,000       
      cost of product revenues
    20,801,000 21,598,000 24,717,000 24,143,000 24,960,000 28,190,000 21,706,000 19,955,000 18,950,000 20,601,000 20,081,000 24,257,000 29,899,000 37,552,000 30,622,000 33,684,000 16,332,000 11,900,000 15,934,000 15,908,000 15,328,000 15,184,000 14,188,000 12,899,000 27,229,000 49,088,000 46,754,000 48,654,000 49,164,000 29,726,000 46,007,000 46,838,000 43,106,000 1,094,000 553,000 577,000 371,000 184,000 29,000       
      intangible asset amortization
    55,473,000 55,473,000 55,473,000 55,473,000 55,473,000 27,458,250 40,801,000 34,515,000 34,517,000 27,811,500 36,317,000 37,463,000 37,466,000 23,494,000 37,552,000 37,501,000 18,923,000 16,795,000 16,796,000 16,795,000 16,795,000 16,795,000 16,795,000 16,795,000 10,295,000                     
      total cost of product revenues
    76,274,000 77,071,000 80,190,000 79,616,000 80,433,000 42,611,000 62,507,000 54,470,000 53,467,000 46,370,750 56,398,000                                   
      gross profit
    117,246,000 128,378,000 129,171,000 108,384,000 97,324,000 98,288,000 96,794,000 90,806,000 91,456,000 94,630,000 80,311,000 73,826,000 77,402,000 49,789,000 58,839,000 52,364,000 48,496,000 -1,333,000 46,113,000 50,239,000 55,598,000 44,292,000 48,193,000 48,364,000 38,987,000                     
      yoy
    20.47% 30.61% 33.45% 19.36% 6.42% 3.87% 20.52% 23.00% 18.16% 90.06% 36.49% 40.99% 59.60% -3835.11% 27.60% 4.23% -12.77% -103.01% -4.32% 3.88% 42.61%                         
      qoq
    -8.67% -0.61% 19.18% 11.36% -0.98% 1.54% 6.59% -0.71% -3.35% 17.83% 8.78% -4.62% 55.46% -15.38% 12.37% 7.98% -3738.11% -102.89% -8.21% -9.64% 25.53% -8.09% -0.35% 24.05%                      
      operating expenses
                                                 
      selling, general and administrative
    86,350,000 67,640,000 67,103,000 73,637,000 76,423,000 63,091,000 61,955,000 43,335,000 41,982,000 32,942,000 35,298,000 38,193,000 52,775,000 38,032,000 38,372,000 41,254,000 54,528,000 26,602,000 30,514,000 30,368,000 31,476,000 26,824,000 26,426,000 29,322,000 31,260,000 25,090,000 30,072,000 28,935,000 32,352,000 30,451,000 33,448,000 31,279,000 31,582,000 25,089,000 22,758,000 22,062,000 22,847,000 25,366,000 23,567,000 20,173,000 11,525,000     
      gain on fair value remeasurement of contingent consideration
     -19,000 -19,000 -358,000 -786,000                                         
      total operating expenses
    86,350,000 67,621,000 67,084,000 73,279,000 75,637,000 60,177,000 61,955,000 43,335,000 41,982,000 32,942,000 35,298,000 38,193,000 52,775,000 38,032,000 38,372,000 41,254,000 58,511,000 32,789,000 31,964,000 33,830,000 34,406,000 29,296,000 28,567,000 31,815,000 33,926,000               24,474,000 15,587,000 9,436,000 9,265,000 4,575,000 3,630,000 
      income from operations
    30,896,000 60,757,000 62,087,000 35,105,000 21,687,000 38,111,000 34,839,000 47,471,000 49,474,000 61,688,000 45,013,000 35,633,000 24,627,000 11,757,000 20,467,000 11,110,000 -10,015,000 -34,122,000 14,149,000 16,409,000 21,192,000 14,996,000 19,626,000 16,549,000 5,061,000 -2,373,000 -6,375,000 -5,008,000 -9,992,000 11,001,000 -11,186,000 -7,293,000 -13,207,000 -17,583,000 -13,430,000 -21,258,000 -23,176,000 -27,578,000 -26,442,000 -24,474,000 -15,587,000 -9,436,000 -9,265,000   
      yoy
    42.46% 59.42% 78.21% -26.05% -56.16% -38.22% -22.60% 33.22% 100.89% 424.69% 119.93% 220.73% -345.90% -134.46% 44.65% -32.29% -147.26% -327.54% -27.91% -0.85% 318.73% -731.94% -407.86% -430.45% -150.65% -121.57% -43.01% -31.33% -24.34% -162.57% -16.71% -65.69% -43.01% -36.24% -49.21% -13.14% 48.69% 192.26% 185.40%       
      qoq
    -49.15% -2.14% 76.86% 61.87% -43.10% 9.39% -26.61% -4.05% -19.80% 37.04% 26.32% 44.69% 109.47% -42.56% 84.22% -210.93% -70.65% -341.16% -13.77% -22.57% 41.32% -23.59% 18.59% 226.99% -313.27% -62.78% 27.30% -49.88% -190.83% -198.35% 53.38% -44.78% -24.89% 30.92% -36.82% -8.28% -15.96% 4.30% 8.04% 57.02% 65.19% 1.85%    
      interest expense
    -15,862,000 -19,292,000 -21,767,000 -20,463,000 -20,790,000 -22,654,000 -18,394,000 -15,587,000 -17,339,000 -19,281,000 -20,768,000 -21,863,000 -21,427,000 -20,575,000 -19,046,000 -17,761,000 -5,831,000 -4,757,000 -5,115,000 -5,421,000 -5,721,000 -7,737,000 -8,063,000 -8,259,000 -4,823,000 -211,000 -228,000 -236,000 -234,000 -2,404,000 -5,868,000 -6,158,000 -5,700,000     -19,000 2,000 46,000 66,000 89,000 97,000 99,000 155,000 
      interest income
    3,706,000 3,565,000 3,116,000 2,383,000 2,225,000 1,812,000 3,280,000 4,397,000 4,487,000 4,303,000 4,538,000 4,027,000 2,747,000 1,027,000 11,000 5,000 4,000 3,000 3,000 3,000 3,000 3,000 3,000 14,000 212,000 383,000 494,000 532,000 526,000 489,000 552,000 391,000 255,000 180,000 167,000 137,000 98,000         
      income before income taxes
    18,740,000 29,036,000 43,436,000 17,025,000 3,122,000 17,269,000 15,580,000 29,097,000 36,622,000 46,710,000 28,783,000 17,797,000 -17,557,000 -7,791,000 1,432,000 -6,646,000 -15,842,000 -38,876,000 9,037,000 10,991,000 15,474,000 7,262,000 11,566,000 8,304,000                      
      provision for income taxes
    4,244,000 12,073,000 11,929,000 5,042,000 705,000 4,733,000 6,245,000 9,491,000 8,909,000 14,770,000 8,149,000 4,790,000  -592,000 975,000  -2,773,000 -13,842,000 991,000 -61,852,000  304,000 280,000 246,000                      
      net income
    14,496,000 16,963,000 31,507,000 11,983,000 2,417,000 12,536,000 9,335,000 19,606,000 27,713,000 31,940,000 20,634,000 13,007,000 -17,426,000 -7,199,000 457,000 -5,191,000 -13,069,000 -25,034,000 8,046,000 72,843,000 15,662,000 6,958,000 11,286,000 8,058,000 450,000 -2,201,000 -6,109,000 -4,712,000 -9,700,000 9,086,000 -16,502,000 -13,060,000 -18,652,000 -17,403,000 -13,263,000 -21,121,000 -23,078,000   -24,520,000 -15,653,000 -9,525,000 -9,362,000 -4,674,000 -3,694,000 
      yoy
    499.75% 35.31% 237.51% -38.88% -91.28% -60.75% -54.76% 50.73% -259.03% -543.67% 4415.10% -350.57% 33.34% -71.24% -94.32% -107.13% -183.44% -459.79% -28.71% 803.98% 3380.44% -416.13% -284.74% -271.01% -104.64% -124.22% -62.98% -63.92% -47.99% -152.21% 24.42% -38.17% -19.18%   -13.86% 47.43%   424.60% 323.74%     
      qoq
    -14.54% -46.16% 162.93% 395.78% -80.72% 34.29% -52.39% -29.25% -13.23% 54.79% 58.64% -174.64% 142.06% -1675.27% -108.80% -60.28% -47.79% -411.14% -88.95% 365.09% 125.09% -38.35% 40.06% 1690.67% -120.45% -63.97% 29.65% -51.42% -206.76% -155.06% 26.36% -29.98% 7.18% 31.21% -37.20% -8.48%    56.65% 64.34% 1.74% 100.30% 26.53%  
      earnings per share — basic
    0.45 0.53 0.38 0.08 0.39 0.29 0.6 0.86 0.96 0.61 0.38  -0.22 0.01 -0.15 -0.39 -0.69 0.23 2.06 0.45 0.2 0.33 0.23 0.01                     
      weighted-average shares — basic
    32,087,472 31,706,429 31,571,410 31,810,612 31,793,739 32,273,850 32,259,468 32,433,025 32,326,589 33,741,213 33,744,209 34,622,284 34,319,291 33,829,495 34,058,802 34,001,553 33,673,912 34,936,817 35,373,909 35,302,608 34,951,740 34,407,959 34,540,126 34,395,266 34,100,688                     
      earnings per share — diluted
    0.4 0.45 0.84 0.34 0.07 0.35 0.27 0.52 0.71 0.83 0.53 0.34  -0.22 0.01 -0.15 -0.39 -0.56 0.22 1.79 0.41 0.2 0.32 0.23 0.01                     
      weighted-average shares — diluted
    40,065,665 39,701,693 39,439,890 39,075,703 32,840,153 40,424,180 40,163,266 40,383,694 41,438,466 41,788,125 42,058,821 42,849,952 34,319,291 33,829,495 34,570,319 34,001,553 33,673,912 41,045,805 36,261,174 41,286,853 41,160,092 35,151,353 35,069,188 35,091,906 35,069,693                     
      loss on extinguishment of debt
          -4,145,000 -7,184,000     -23,504,000                                 
      research and development
                    3,983,000 1,609,000 1,450,000 3,462,000 2,930,000 2,472,000 2,141,000 2,493,000 2,666,000 2,398,000 2,491,000 2,459,000 2,992,000 2,249,000 1,907,000 2,237,000 2,268,000 2,194,000 2,069,000 2,179,000 2,130,000 3,331,000 3,254,000 4,301,000 4,062,000 1,531,000 3,358,000 1,641,000 1,445,000 
      total cost of products revenues
               61,720,000 67,365,000 79,831,000 68,174,000 71,185,000 35,255,000 28,695,000 32,730,000 32,703,000 32,123,000 31,979,000 30,983,000 29,694,000 37,524,000                     
      benefit from income taxes
                -131,000   -1,455,000     -188,000                         
      loss per share — basic
                -0.51                                 
      loss per share — diluted
                -0.51                                 
      costs and expenses
                                                 
      total costs and expenses
                             76,576,000 79,317,000 80,048,000 84,508,000 62,426,000 81,362,000 80,354,000 76,956,000 28,377,000 25,380,000 24,818,000 25,348,000 28,881,000 26,850,000       
      loss per share - basic and diluted
                             -0.06 -0.18 -0.14 -0.29 0.27 -0.5 -0.4 -0.57 -0.488 -0.45 -0.72 -0.79 -0.713 -1.13       
      weighted-average shares - basic and diluted
                             33,453,844 33,481,923 33,397,709 33,331,917 32,953,808 33,012,174 32,967,718 32,903,674  29,753,043 29,441,514 29,350,268  23,460,340 23,417,378      
      other income
                                                 
      total other income
                                        98,000         
      other expense
                                                 
      gain on extinguishment of debt
                                                 
      total other expense
                                         28,250 2,000 46,000 66,000 89,000 97,000 99,000 64,000 
      net and comprehensive loss
                                         -16,654,250 -26,444,000       
      operating expenses:
                                                 
      other expense:
                                                 
      earnings per share - basic and diluted
                                           -1.05      
      earnings per share - basic
                                            -0.68     
      earnings per share - diluted
                                            -0.68     
      weighted-average shares - basic
                                            23,130,153     
      weighted-average shares - diluted
                                            23,130,153     
      general and administrative
                                             7,905,000 5,907,000 2,934,000 2,185,000 
      gain on extinguishment
                                             -22,750    
      net income per share
                                             -0.54 -0.46 -0.45  
      weighted-average number of common shares used in net loss per share-basic and diluted
                                             13,542,282 20,531,406 11,791,546  
      earning (loss) per share-basic
                                                0.34 
      earnings per share-diluted
                                                -0.65 
      weighted-average shares-basic
                                                1,001,704 
      weighted-average shares-diluted
                                                7,554,524 
    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 
                                                   
        assets
                                                   
        current assets
                                                   
        cash and cash equivalents
      268,648,000 231,252,000 150,096,000 117,348,000 96,192,000 70,565,000 38,960,000 172,894,000 228,610,000 238,947,000 258,532,000 283,749,000 269,480,000 173,688,000 134,126,000 122,722,000 106,698,000 186,426,000 193,241,000 202,771,000 182,790,000 174,116,000 165,423,000 145,678,000 116,178,000 170,019,000 153,838,000 148,713,000 134,910,000 146,633,000 139,790,000 133,747,000 128,249,000 118,697,000 107,611,000 111,209,000 129,558,000 153,225,000 91,028,000 110,747,000 134,730,000 95,697,000 105,460,000 112,413,000 44,989,000 
        marketable securities
      153,105,000 155,427,000 135,767,000 104,805,000 101,582,000 92,198,000 80,997,000 98,737,000 89,438,000 71,601,000 46,033,000 41,721,000                                  
        accounts receivable
      228,762,000 211,328,000 233,949,000 213,023,000 228,710,000 228,540,000 228,456,000 183,855,000 174,693,000 179,525,000 181,851,000 167,479,000 179,127,000 183,119,000 195,402,000 197,505,000 166,345,000 105,844,000 148,999,000 90,098,000 93,156,000 83,320,000 76,466,000 81,195,000 85,427,000 72,953,000 84,380,000 81,279,000 85,139,000 77,946,000 66,533,000 68,380,000 66,036,000  5,823,000 4,877,000 3,349,000  1,679,000 2,952,000      
        inventory
      42,741,000 40,912,000 38,052,000 38,148,000 37,218,000 35,560,000 38,032,000 27,862,000 31,276,000 32,332,000 34,125,000 26,026,000 32,895,000 46,501,000 64,652,000 77,769,000 80,146,000 17,394,000 17,358,000 19,595,000 15,498,000 15,614,000 17,146,000 18,815,000 15,963,000 9,643,000 8,760,000 9,953,000 8,741,000 7,817,000 9,229,000 8,544,000 7,902,000  1,401,000 1,520,000 1,495,000  1,576,000 1,214,000      
        prepaid expenses and other current assets
      32,562,000 32,642,000 36,156,000 56,037,000 43,996,000 30,394,000 32,365,000 26,850,000 15,243,000 15,195,000 16,545,000 18,322,000 16,798,000 16,681,000 11,036,000 11,778,000 10,449,000 5,879,000 3,640,000 6,068,000 4,867,000 4,838,000 3,097,000 5,125,000 6,107,000 3,105,000 2,807,000 4,618,000 5,053,000 5,116,000 3,425,000 5,622,000 5,526,000  4,061,000 3,009,000 2,064,000  1,086,000 1,537,000 821,000 1,186,000 866,000 1,219,000 1,838,000 
        restricted cash
      19,850,000 19,850,000 19,850,000 19,850,000 19,855,000 25,000,000 25,000,000 1,047,000 1,047,000 1,047,000 1,047,000 1,047,000 2,547,000 2,547,000 2,547,000 2,547,000 2,547,000 2,547,000 2,547,000 2,547,000 2,547,000 2,547,000 2,547,000 2,547,000 2,645,000        703,000  97,000 97,000 97,000  97,000 97,000 97,000 97,000 97,000 97,000 97,000 
        total current assets
      745,668,000 691,411,000 613,870,000 549,211,000 527,553,000 482,257,000 443,810,000 510,198,000 539,260,000 537,600,000 537,086,000 537,297,000 498,300,000 419,989,000 405,216,000 409,774,000 363,638,000 315,543,000 363,238,000 318,532,000 296,311,000 277,888,000 262,132,000 250,813,000 223,675,000 255,720,000 249,785,000 244,563,000 233,843,000 237,512,000 218,977,000 216,293,000 207,713,000  118,896,000 120,615,000 136,466,000  95,369,000 116,450,000 135,551,000 96,883,000 106,326,000 113,632,000 46,827,000 
        property and equipment
      11,661,000 12,013,000 12,249,000 12,903,000 13,850,000 14,329,000 14,614,000 14,976,000 15,457,000 15,983,000 16,645,000 18,040,000 18,879,000 19,521,000 19,744,000 19,965,000 20,202,000 19,491,000 19,629,000 19,555,000 19,760,000 18,988,000 17,746,000 15,156,000 13,145,000 11,854,000 11,579,000 10,367,000 9,962,000 9,274,000 6,039,000 3,203,000 1,612,000  1,632,000 1,583,000 1,007,000  772,000 676,000 695,000 738,000 627,000 445,000 468,000 
        operating lease assets
      3,975,000  4,432,000 5,263,000 5,545,000 5,822,000 6,169,000 5,592,000 5,813,000 6,029,000 6,243,000 6,452,000 6,658,000 6,861,000 7,061,000 7,257,000 7,812,000 7,644,000 7,835,000 8,023,000 8,209,000 8,391,000 8,572,000 8,697,000 8,873,000 9,047,000 9,219,000 9,574,000 9,766,000                 
        intangible assets
      614,037,000 669,510,000 724,983,000 780,456,000 835,930,000 891,402,000 946,875,000 352,676,000 387,191,000 421,708,000 456,222,000 492,539,000 530,002,000 567,468,000 609,747,000 647,299,000 694,799,000         29,503,000 33,191,000 36,879,000 40,567,000 44,255,000 421,287,000 453,694,000 486,100,000  1,877,000 1,925,000 1,973,000  2,273,000 2,500,000      
        deferred tax assets
      113,567,000 112,539,000 102,477,000 91,967,000 91,665,000 98,033,000 72,509,000 34,184,000 30,671,000 26,259,000 25,738,000 24,606,000 23,969,000 23,950,000 26,474,000 28,571,000 25,554,000 78,042,000 63,026,000 62,649,000                          
        other noncurrent assets
      16,064,000 20,193,000 2,338,000 3,845,000 5,038,000 8,368,000 4,171,000 858,000 954,000 825,000 740,000 74,000 87,000 100,000 57,000 67,000 77,000 87,000 10,000 115,000 129,000 123,000 147,000 163,000 166,000 178,000 204,000 198,000 224,000                 
        goodwill
      145,925,000 145,925,000 145,925,000 147,936,000 150,760,000 162,333,000 145,959,000 133,857,000 133,857,000 133,857,000 133,857,000 133,857,000 133,857,000 133,695,000 130,094,000 130,094,000 131,512,000                             
        total assets
      1,651,955,000 1,656,834,000 1,607,328,000 1,592,631,000 1,631,388,000 1,663,591,000 1,635,154,000 1,053,388,000 1,114,250,000 1,143,308,000 1,177,578,000 1,213,912,000 1,214,299,000 1,174,131,000 1,200,940,000 1,245,574,000 1,246,141,000 692,077,000 741,803,000 713,735,000 646,065,000 643,841,000 643,843,000 646,870,000 634,793,000 306,302,000 303,978,000 301,581,000 294,362,000 291,245,000 646,508,000 673,329,000 696,278,000 135,568,000 122,673,000 124,515,000 139,848,000 162,017,000 98,725,000 119,723,000 136,343,000 97,718,000 107,050,000 114,174,000 47,392,000 
        liabilities and shareholders’ equity
                                                   
        current liabilities
                                                   
        accounts payable
      6,828,000 10,659,000 7,647,000 10,890,000 17,853,000 3,934,000 3,142,000 2,412,000 6,020,000 8,692,000 3,653,000 2,420,000 2,992,000 3,494,000 7,637,000 6,627,000 3,851,000 4,189,000 7,730,000 7,543,000 8,666,000 10,016,000 6,491,000 8,182,000 6,139,000 6,247,000 11,981,000 10,941,000 13,733,000 12,150,000 11,679,000 18,692,000 9,336,000  4,982,000 5,612,000 6,793,000  8,970,000 6,074,000 6,189,000 3,537,000 3,237,000 2,239,000 2,180,000 
        accrued liabilities
      58,148,000 62,464,000 51,468,000 59,436,000 53,740,000 72,124,000 47,600,000 38,726,000 38,190,000 37,571,000 31,651,000                                   
        accrued rebates, returns and discounts
      317,691,000 318,266,000 309,608,000 310,758,000 324,665,000 338,642,000 313,874,000 236,208,000 217,880,000 227,331,000 245,012,000 213,089,000 200,902,000 230,491,000 241,218,000 246,719,000 227,476,000 196,996,000 191,723,000 143,224,000 156,153,000 156,554,000 170,246,000 171,053,000 171,886,000 157,549,000 165,263,000 158,264,000 152,328,000 144,783,000 130,454,000 107,790,000 92,400,000             
        current portion of term notes payable
      32,625,000 29,000,000 64,583,000 64,583,000 64,583,000 64,583,000 64,583,000 183,333,000 183,333,000 183,333,000 183,333,000 183,333,000 183,333,000 162,500,000 141,667,000 120,833,000 100,000,000 48,353,000 48,135,000 47,919,000 47,705,000 47,495,000 47,281,000 47,069,000 46,859,000                     
        current portion of operating lease liabilities
      1,449,000 1,407,000 1,372,000 1,338,000 1,304,000 1,271,000 1,271,000 1,038,000 1,013,000 988,000 963,000 971,000 1,042,000 1,112,000 1,179,000 1,211,000 1,178,000 814,000 793,000 771,000 750,000 730,000 709,000 696,000 676,000 656,000 750,000 633,000 523,000                 
        business combination consideration payable
      17,565,000 17,565,000 17,565,000 17,566,000 24,565,000 28,956,000 28,956,000                                       
        deferred revenue
      667,000 667,000 667,000 10,000,000 10,000,000 10,000,000 10,000,000                             10,361,000 8,695,000  3,938,000 3,926,000      
        total current liabilities
      434,973,000 440,028,000 452,929,000 464,609,000 486,710,000 509,510,000 459,426,000 461,717,000 446,436,000 457,915,000 464,612,000 435,058,000 412,702,000 433,726,000 414,497,000 415,094,000 373,573,000 279,566,000 268,973,000 226,843,000 230,168,000 239,451,000 242,437,000 252,111,000 244,374,000 201,765,000 201,483,000 196,272,000 188,885,000 189,126,000 280,221,000 264,702,000 250,228,000  26,396,000 28,561,000 24,532,000  22,212,000 18,203,000 11,068,000 8,432,000 8,600,000 6,190,000 6,707,000 
        term notes payable, net of current portion
      531,723,000 542,112,000 505,583,000 520,648,000 535,698,000 550,733,000 565,716,000 132,845,000 177,360,000 221,713,000 265,886,000 309,898,000 353,769,000 397,578,000 441,258,000 484,853,000 528,390,000 61,666,000 73,832,000 85,944,000 98,006,000 110,019,000 121,967,000 133,862,000 145,711,000                     
        convertible senior notes
      238,472,000 238,213,000 237,950,000 237,688,000 237,429,000 237,172,000 236,911,000 236,650,000 262,425,000 262,125,000 261,823,000 261,521,000 261,222,000 140,873,000 140,644,000 140,415,000 140,189,000 139,966,000 139,738,000 139,511,000 139,286,000 99,575,000 97,795,000 96,046,000 94,383,000                     
        operating lease liabilities, net of current portion
      3,787,000 4,132,000 4,501,000 4,853,000 5,199,000 5,539,000 5,914,000 5,593,000 5,860,000 6,124,000 6,384,000 6,630,000 6,873,000 7,112,000 7,347,000 7,600,000 7,913,000 7,951,000 8,166,000 8,371,000 8,570,000 8,765,000 8,958,000 9,084,000 9,262,000 9,438,000 9,612,000 9,903,000 10,091,000                 
        deferred royalty obligation
      121,634,000 121,563,000 122,279,000 122,627,000 121,522,000 120,613,000 118,812,000                                       
        deferred revenue, net of current portion
      8,944,000 9,111,000 9,278,000                                           
        total liabilities
      1,339,533,000 1,355,159,000 1,332,520,000 1,360,425,000 1,396,954,000 1,434,749,000 1,400,875,000 836,805,000 892,081,000 947,877,000 998,705,000 1,013,107,000 1,034,566,000 979,289,000 1,003,746,000 1,047,962,000 1,050,065,000 489,149,000 490,709,000 460,669,000 476,030,000 457,810,000 471,157,000 491,103,000 493,730,000 218,870,000 219,720,000 215,758,000 208,012,000 199,660,000 575,728,000 590,648,000 605,455,000  26,404,000 29,002,000 25,481,000  24,400,000 21,067,000 14,607,000 12,646,000 13,489,000 11,755,000 12,946,000 
        commitments and contingencies
                                                   
        shareholders’ equity:
                                                   
        preferred stock, 0.001 par value...
                                                   
        common stock, 0.001 par value...
      41,000 41,000 41,000 40,000 40,000 40,000 40,000 40,000 39,000 38,000 38,000 38,000 38,000 37,000 37,000 37,000 36,000 36,000 36,000 36,000 35,000 35,000 35,000 34,000 34,000 34,000 34,000 33,000 33,000 33,000 33,000 33,000 33,000  31,000 30,000 29,000  24,000 24,000 24,000 21,000 20,000 20,000 1,000 
        additional paid-in capital
      621,743,000 624,954,000 615,077,000 598,938,000 593,240,000 590,251,000 582,762,000 567,976,000 565,111,000 565,949,000 545,940,000 548,492,000 540,389,000 538,073,000 525,585,000 520,038,000 513,312,000 502,095,000 499,846,000 492,384,000 482,197,000 519,143,000 512,756,000 507,124,000 500,478,000 447,297,000 441,922,000 437,379,000 433,194,000 428,729,000 417,010,000 412,409,000 407,491,000  376,884,000 362,866,000 360,600,000  269,929,000 267,815,000 266,376,000 214,062,000 213,027,000 212,523,000 20,234,000 
        treasury stock
      -222,510,000 -222,510,000 -222,510,000 -217,510,000 -197,505,000 -197,505,000 -172,381,000 -165,381,000 -137,381,000 -137,381,000 -101,924,000 -61,924,000 -61,924,000 -61,924,000 -54,283,000 -47,861,000 -47,861,000 -42,861,000 -17,480,000                           
        accumulated other comprehensive income
      -219,000 319,000 292,000 337,000 241,000 55,000 393,000 -182,000 -124,000 14,000                                    
        accumulated deficit
      -86,633,000 -101,129,000 -118,092,000 -149,599,000 -161,582,000 -163,999,000 -176,535,000 -185,870,000 -205,476,000 -233,189,000 -265,129,000 -285,763,000 -298,770,000 -281,344,000 -274,145,000 -274,602,000 -269,411,000 -256,342,000 -231,308,000 -239,354,000 -312,197,000 -333,147,000 -340,105,000 -351,391,000 -359,449,000 -359,899,000 -357,698,000 -351,589,000 -346,877,000 -337,177,000 -346,263,000 -329,761,000 -316,701,000  -280,646,000 -267,383,000 -246,262,000  -195,625,000 -169,180,000 -144,661,000 -129,008,000 -119,483,000   
        total shareholders’ equity
      312,422,000 301,675,000 274,808,000 232,206,000 234,434,000 228,842,000 234,279,000 216,583,000 222,169,000 195,431,000 178,873,000 200,805,000 179,733,000 194,842,000 197,194,000 197,612,000 196,076,000 202,928,000 251,094,000 253,066,000 170,035,000 186,031,000 172,686,000 155,767,000 141,063,000 87,432,000 84,258,000 85,823,000 86,350,000 91,585,000 70,780,000 82,681,000 90,823,000 104,080,000 96,269,000 95,513,000 114,367,000 134,908,000 74,325,000 98,656,000 121,736,000 85,072,000 93,561,000 102,419,000  
        total liabilities and shareholders’ equity
      1,651,955,000 1,656,834,000 1,607,328,000 1,592,631,000 1,631,388,000 1,663,591,000 1,635,154,000 1,053,388,000 1,114,250,000 1,143,308,000 1,177,578,000 1,213,912,000 1,214,299,000 1,174,131,000 1,200,940,000 1,245,574,000 1,246,141,000 692,077,000 741,803,000 713,735,000 646,065,000 643,841,000 643,843,000 646,870,000 634,793,000 306,302,000 303,978,000 301,581,000 294,362,000 291,245,000 646,508,000 673,329,000 696,278,000  122,673,000 124,515,000 139,848,000  98,725,000 119,723,000 136,343,000     
        operating lease right-of-use assets
       4,187,000                                            
        liabilities and shareholders' equity
                                                   
        contingent consideration
        19,000 38,000 396,000 1,182,000 4,096,000                                       
        contingent consideration, net of current portion
                                                   
        accumulated other comprehensive loss
                -52,000 -38,000                                  
        accrued expenses
                 35,245,000 24,433,000 36,129,000 22,796,000 39,704,000 41,068,000 29,214,000 20,592,000 27,386,000 16,894,000 24,656,000 17,710,000 25,111,000 18,814,000 33,480,000 20,614,000 24,517,000 19,837,000 30,551,000 20,933,000 23,395,000 17,436,000  19,268,000 10,199,000 6,488,000  6,637,000 5,536,000 2,212,000 2,228,000 2,681,000 1,671,000 2,732,000 
        intangible asset
                       268,723,000 285,518,000 302,314,000 319,109,000 335,904,000 352,699,000 369,494,000 386,289,000                     
        current portion of term loan payable
                               3,833,000 2,875,000 1,917,000 2,464,000 1,642,000 821,000    2,146,000 2,389,000 2,556,000  2,667,000 2,667,000 2,667,000 2,667,000 2,667,000 2,250,000 1,750,000 
        term loan payable, net of current portion
                               7,667,000 8,625,000 9,583,000 9,036,000                 
        other noncurrent liabilities
                                                   
        other long-term assets
                                   204,000 205,000 139,000 150,000  171,000 295,000 305,000  214,000       
        other long-term liabilities
                                   676,000        1,513,000        
        term loan payable, long-term
                                   9,858,000 10,679,000 11,500,000 11,500,000   424,000 924,000  2,146,000 2,813,000 3,480,000 4,146,000 4,813,000 5,480,000 6,146,000 
        current portion of asset acquisition obligations
                                    116,334,000 114,825,000 131,056,000             
        asset acquisition obligations, long-term
                                    284,828,000 314,446,000 343,727,000             
        balance sheet data:
                                                   
        working capital
                                       101,996,000    132,979,000        
        lease incentive obligation
                                        8,000 17,000 25,000  42,000 51,000 59,000 68,000 76,000 85,000 93,000 
        shareholders’ equity
                                                   
        current assets:
                                                   
        current liabilities:
                                                   
        refundable pdufa fee
                                                   
        liabilities, convertible redeemable preferred stock and shareholders' equity
                                                   
        current portion of deferred rent and lease note payable
                                                15,000 30,000 45,000 
        convertible bridge notes with related parties
                                                   
        series a convertible redeemable preferred stock, 0.001 par value...
                                                  11,345,000 
        series b convertible redeemable preferred stock, 0.001 par value...
                                                  45,905,000 
        series c convertible redeemable preferred stock, 0.001 par value...
                                                  12,000,000 
        total liabilities, convertible redeemable preferred stock and shareholders’ equity
                                               97,718,000 107,050,000 114,174,000  
        series d convertible redeemable preferred stock, 0.001 par value...
                                                  50,411,000 
        liabilities, convertible redeemable preferred stock and shareholders’ deficit
                                                   
        shareholders’ deficit:
                                                   
        total shareholders’ deficit
                                                   
        total liabilities, convertible redeemable preferred stock and shareholders’ deficit
                                                  47,392,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 
                                                     
          operating activities
                                                     
          net income
        14,496,000 16,963,000 31,507,000 11,983,000 2,417,000 12,536,000 9,335,000 19,606,000 27,713,000 31,940,000    -7,199,000 457,000 -5,191,000 -13,069,000 -25,034,000 8,046,000 72,843,000 15,662,000 6,958,000 11,286,000 8,058,000 450,000                     
          adjustments to reconcile net income to net cash from operating activities:
                                                     
          amortization expense
        55,473,000 55,473,000 55,473,000 55,473,000 55,473,000  40,801,000 34,515,000 34,517,000  36,317,000 37,463,000 37,466,000  37,552,000 37,501,000 18,923,000 16,795,000 16,796,000 16,795,000 16,795,000 16,795,000 16,795,000 16,795,000 10,295,000        29,526,000             
          depreciation expense
        463,000 923,000 1,033,000 1,135,000 1,091,000 1,041,000 946,000 952,000 917,000 949,000 835,000 895,000 817,000 825,000 488,000 656,000 715,000 424,000 448,000 425,000 439,000 281,000 195,000 196,000 198,000        482,000             
          deferred income taxes
        -968,000 -10,072,000 -12,132,000 -2,914,000 -539,000 -10,156,000 -8,733,000 -3,513,000 -4,412,000 -338,000 -1,133,000 -636,000 -46,000 -1,078,000 2,097,000 -3,372,000 -6,038,000 -15,016,000 -377,000                           
          stock-based compensation expense
        10,880,000 9,753,000 9,811,000 10,818,000 11,524,000 7,596,000 7,317,000 10,012,000 7,475,000 7,002,000 7,027,000 7,072,000 6,035,000 5,670,000 5,377,000 5,692,000 6,135,000 4,912,000 5,948,000 6,516,000 6,879,000 6,210,000 5,165,000 5,584,000 4,951,000 3,966,000 4,137,000 4,162,000 4,263,000 3,598,000 3,926,000 3,526,000 2,728,000 2,078,000 2,100,000 1,946,000 1,821,000 1,650,000 1,641,000 1,395,000 1,101,000 992,000 503,000 601,000 113,000 
          non-cash lease benefit
        -91,000   -30,000 -30,000  -23,000 -22,000 -22,000                                     
          non-cash interest expense for amortization of debt discount and issuance costs
        819,000 1,276,000 1,343,000 1,355,000 1,367,000 1,424,000 1,208,000 1,604,000 1,780,000 1,963,000 2,124,000 2,261,000 2,287,000 2,383,000 2,467,000 2,522,000 913,000 779,000 832,000 876,000 919,000 2,545,000 2,567,000 2,524,000 1,336,000                     
          net accretion for deferred royalty obligation
        71,000  -348,000 1,105,000 909,000                                         
          net amortization of premiums and discounts on investments
        -178,000 -254,000 -230,000 -264,000 -324,000 -376,000 -514,000 -723,000 -415,000 -568,000 -569,000                                   
          change in fair value of contingent consideration
          -19,000 -358,000 -786,000                                         
          changes in operating assets and liabilities:
                                                     
          accounts receivable
        -17,434,000 22,621,000 -20,926,000 15,679,000 -170,000 106,000 -190,000 -9,162,000 4,832,000 2,326,000 -14,372,000 11,647,000 3,993,000 12,283,000 2,102,000 -31,159,000 -5,006,000 43,155,000 -58,901,000 3,058,000 -9,836,000 -6,854,000 4,729,000 4,232,000 -12,474,000 11,427,000 -3,101,000 3,860,000 -7,193,000 -11,667,000 1,847,000 -2,344,000 -56,067,000 -4,146,000 -946,000 -1,528,000 -1,220,000 -450,000 1,273,000       
          inventory
        -1,829,000 -2,861,000 96,000 -930,000 -1,658,000 2,472,000 6,985,000 3,414,000 1,056,000 1,793,000 -8,099,000 6,869,000 13,606,000 18,150,000 13,117,000 16,677,000 330,000 -36,000 2,238,000 -4,098,000 -400,000 1,045,000 470,000 -3,071,000 -6,714,000 -883,000 1,193,000                   
          prepaid expenses and other assets
        4,132,000 -8,185,000 21,337,000 -10,848,000 -10,272,000 -1,948,000 -434,000 -11,511,000 -177,000 1,397,000 1,791,000 -1,511,000 -238,000 -5,604,000 753,000 -432,000 677,000 -2,316,000 2,531,000 -1,186,000 -115,000 -1,637,000 2,044,000 985,000 -2,990,000 -277,000 1,805,000 433,000 76,000 -1,689,000 2,131,000 -85,000 -523,000 -1,024,000 1,050,000 -935,000 -148,000 -809,000        
          accounts payable
        -3,827,000 3,045,000 -3,283,000 -6,963,000 13,919,000 810,000 -5,944,000 -3,608,000 -2,536,000 4,955,000 1,181,000 -573,000 -502,000 -4,143,000 1,010,000 2,776,000 -350,000 -3,541,000 186,000 -1,122,000 -1,350,000 3,525,000 -1,691,000 2,043,000 -108,000 -5,734,000 1,040,000 -2,792,000 1,583,000 470,000 -7,013,000 9,356,000 3,652,000 702,000 -630,000 -1,181,000 -2,313,000 168,000 2,864,000 -114,000 2,651,000 336,000 930,000   
          accrued liabilities
        -4,152,000 10,705,000 -8,114,000 5,587,000 -17,673,000 22,422,000 -62,934,000 322,000 660,000 5,107,000                                    
          accrued rebates, returns and discounts
        -575,000 8,658,000 2,432,000 -8,389,000 150,000 -7,053,000 -1,437,000 18,328,000 -9,451,000 -17,680,000 31,922,000 12,187,000 -29,589,000 -10,726,000 -5,502,000 15,327,000 -21,865,000 5,273,000 48,499,000 -12,929,000 -401,000 -13,692,000 -807,000 -833,000 14,337,000 -7,714,000 6,999,000 5,936,000 7,545,000 14,583,000 22,664,000 15,391,000 53,955,000             
          deferred revenue
        -167,000 -167,000                                -10,361,000 1,666,000 3,751,000 1,006,000 12,000       
          net cash from operating activities
        57,113,000 123,048,000 78,438,000 72,439,000 55,398,000 84,644,000 -8,999,000 67,398,000 61,937,000 73,338,000 74,018,000 99,722,000 27,671,000 66,325,000 42,769,000 40,451,000 -25,315,000 36,198,000 17,254,000 29,535,000 20,570,000 22,577,000 34,180,000 43,854,000 -6,669,000 15,656,000 6,069,000 14,627,000 -8,569,000 42,288,000 41,834,000 55,605,000 29,663,000 -13,296,000 -12,567,000 -17,467,000 -23,688,000 -23,287,000 -19,414,000 -20,836,000 -11,516,000 -8,939,000    
          capital expenditures
        -63,000 -689,000 2,000 -65,000 -798,000 -570,000 -244,000 -270,000 -568,000 -41,000 -65,000 -56,000  -940,000 42,000 -504,000 40,000 -744,000 -30,000 -1,230,000 132,000 -1,926,000 -3,220,000 337,000 -444,000 -1,307,000 -1,311,000 -875,000 -2,513,000 32,000 -2,445,000 424,000 -227,000 -53,000 -547,000 -244,000 70,000 -341,000 -111,000  -187,000    
          free cash flows
        57,050,000 122,359,000 78,440,000 72,374,000 54,600,000 84,074,000 -9,243,000 67,128,000 61,369,000 73,297,000 73,953,000 99,666,000  65,385,000 42,811,000 39,947,000 -25,275,000 35,454,000 17,224,000 28,305,000 20,702,000 20,651,000 30,960,000 44,191,000 -7,113,000 14,349,000 4,758,000 13,752,000 -11,082,000 42,320,000 39,389,000 56,029,000 29,436,000 -13,349,000 -13,114,000 -17,711,000 -23,618,000 -23,628,000 -19,525,000 -20,836,000  -9,126,000    
          investing activities
                                                     
          purchases of property and equipment
        -270,000 -689,000 -188,000 -65,000 -798,000 -570,000 -244,000 -270,000 -568,000 -164,000 -65,000 -56,000 -176,000 -940,000 -113,000 -461,000 -108,000 -515,000 -276,000 -725,000 -428,000 -1,481,000 -2,403,000 -826,000 -836,000 -889,000 -1,351,000 -875,000 -3,323,000 -1,773,000 -2,717,000 -631,000 -356,000 -172,000 -340,000 -449,000 -29,000 -341,000 -111,000   -187,000    
          purchases of marketable securities
        -18,109,000 -39,222,000 -45,245,000 -16,611,000 -25,890,000 -27,168,000 -10,600,000 -34,293,000 -39,110,000 -40,933,000 -9,757,000                                   
          maturities of marketable securities
        20,006,000  14,565,000 13,761,000 17,008,000 15,976,000 29,419,000 25,657,000 21,550,000 16,000,000                                    
          net cash from investing activities
        1,627,000 -20,069,000 -30,868,000 -2,915,000 -9,680,000 -11,762,000 -248,963,000 -8,906,000 -18,128,000 -25,097,000 -3,822,000 -41,717,000 -176,000 -940,000 -113,000 -461,000 -572,177,000 -515,000 -276,000 -725,000 -428,000 -1,481,000 -2,403,000 -2,241,000 -367,647,000 -889,000 -1,351,000 -875,000 -3,323,000 -1,773,000 -2,717,000 -747,000 -19,117,000 -172,000 -340,000 -449,000 -29,000 -341,000 -111,000   -187,000    
          financing activities
                                                     
          proceeds from issuances of common stock from employee stock purchase plan
        947,000  857,000 506,000  471,000 356,000  291,000 169,000                                 
          proceeds from the exercise of stock options
        394,000 985,000 1,435,000 308,000 1,552,000 173,000 149,000 5,719,000 4,205,000 3,240,000 302,000 1,251,000 3,848,000 6,863,000 142,000 1,545,000 3,261,000 2,339,000 1,339,000 4,092,000 4,182,000 183,000 314,000 1,626,000 4,454,000 1,515,000 232,000 86,000 213,000 168,000 182,000 1,532,000 2,373,000 308,000 13,000 321,000 94,000 329,000 28,000 44,000 42,000 45,000 1,000   
          payments made for employee stock tax withholdings
        -15,433,000 -861,000 -964,000 -428,000 -10,593,000 -279,000 -142,000 -5,875,000 -12,874,000 -233,000 -172,000 -220,000 -7,736,000 -45,000 -106,000 -511,000 -3,382,000 -220,000 -421,000 -3,508,000                         
          repayment of term notes
        -7,250,000  -16,146,000 -16,146,000 -16,146,000 -16,146,000 -45,834,000 -45,833,000 -45,833,000 -45,834,000 -45,833,000 -25,000,000 -25,000,000 -25,000,000   -12,500,000 -12,500,000 -12,500,000 -12,500,000 -12,500,000 -12,500,000                       
          payments made for deferred purchase price for acquisition
         -7,000,000 -555,000                                         
          net cash from financing activities
        -21,342,000 -21,821,000 -14,818,000 -48,370,000 -25,236,000 -41,277,000 149,028,000 -114,208,000 -54,146,000 -67,826,000 -95,413,000 -45,236,000 68,297,000 -25,823,000 -31,252,000 -23,966,000 517,764,000 -42,498,000 -26,508,000 -8,829,000 -11,468,000 -12,403,000 -12,032,000 -12,211,000 323,120,000 1,414,000 407,000 51,000 169,000 -33,672,000 -33,074,000 -50,063,000 -388,000 24,554,000 9,309,000 -433,000 50,000 85,825,000 -194,000 -622,000 50,549,000 -637,000    
          net increase in cash, cash equivalents and restricted cash
        37,398,000 81,158,000 32,752,000 21,154,000 20,482,000 31,605,000 -108,934,000 -55,716,000 -10,337,000 -19,585,000 -25,217,000 12,769,000 95,792,000 39,562,000 11,404,000 16,024,000 -79,728,000 -6,815,000 -9,530,000 19,981,000 8,674,000 8,693,000 19,745,000   16,181,000 5,125,000 13,803,000 -11,723,000 6,843,000 6,043,000 4,795,000 10,158,000             
          cash, cash equivalents and restricted cash at beginning of period
        252,158,000  96,612,000  239,994,000  176,235,000  188,973,000 176,663,000 170,019,000 146,633,000 118,794,000             
          cash, cash equivalents and restricted cash at end of period
        289,556,000  32,752,000 21,154,000 117,094,000  -108,934,000 -55,716,000 229,657,000  -25,217,000 12,769,000 272,027,000  11,404,000 16,024,000 109,245,000 -6,815,000 -9,530,000 19,981,000 185,337,000 8,693,000 19,745,000 29,402,000 118,823,000 16,181,000 5,125,000                   
          reconciliation of cash, cash equivalents and restricted cash to the condensed consolidated balance sheets:
                                                     
          cash and cash equivalents
        268,648,000 81,156,000 32,748,000 21,156,000 96,192,000 31,605,000 -133,934,000 -55,716,000 228,610,000 -19,585,000 -25,217,000 14,269,000 269,480,000 39,562,000 11,404,000 16,024,000 106,698,000 -6,815,000 -9,530,000 19,981,000 182,790,000 8,693,000 19,745,000 29,500,000 116,178,000                     
          restricted cash
        20,908,000 2,000 4,000 -2,000 20,902,000 25,000,000 1,047,000 -1,500,000 2,547,000 2,547,000 2,547,000 -98,000 2,645,000                    
          total cash, cash equivalents and restricted cash
        289,556,000 81,158,000 32,752,000 21,154,000 117,094,000 31,605,000 -108,934,000 -55,716,000 229,657,000 -19,585,000 -25,217,000 12,769,000 272,027,000 39,562,000 11,404,000 16,024,000 109,245,000 -6,815,000 -9,530,000 19,981,000 185,337,000 8,693,000 19,745,000 29,402,000 118,823,000                     
          supplemental disclosure of cash flow information
                                                     
          cash paid for interest
        22,109,000 11,693,000 21,526,000 13,847,000 21,694,000 15,224,000 17,668,000 12,074,000 17,468,000 15,577,000 20,492,000 17,688,000 19,499,000 17,248,000 17,528,000 11,919,000 5,833,000 3,035,000 5,225,000 3,602,000 5,746,000 4,249,000 6,459,000 4,803,000 3,456,000 166,000 181,000 184,000 178,000 173,000 167,000 133,000 109,000 18,000 33,000 39,000 49,000 58,000 67,000 76,000 83,000 93,000 58,000 101,000 101,000 
          cash paid for income taxes
        44,000 12,280,000 15,488,000 29,817,000 2,456,000 621,000 15,588,000 35,708,000 173,000 6,912,000 7,282,000 9,268,000 743,000 363,000 3,261,000 4,662,000 2,114,000 676,000 1,453,000 458,000 418,000                         
          supplemental disclosure of non-cash activities
                                                     
          acquisition of property and equipment included in accrued liabilities
        207,000                                             
          non-cash lease expense
         -104,000        -22,000 -45,000 -108,000 -105,000 -103,000 -88,000 271,000 158,000 -2,000 5,000 8,000 7,000 8,000 13,000 18,000 18,000 -96,000 180,000 115,000 114,000                 
          loss on extinguishment of debt
             4,145,000   23,504,000                                 
          non-cash interest expense for deferred royalty obligation
             3,240,000                                        
          non-cash change in fair value of contingent consideration
                                                     
          operating lease assets and liabilities
         15,000            -1,000                             
          acquisition of ironshore
                                                    
          maturities and sales of marketable securities
                                                     
          proceeds from issuances of common stock from employee stock purchase plans
                     134,000 203,000 397,000 358,000 401,000 357,000 373,000 444,000 607,000 510,000 468,000 673,000         
          repurchases of common stock
                     -7,641,000                                
          repayment of term loans, including debt extinguishment costs
                                                     
          proceeds from issuance of 2025 credit facility, net of debt discounts and issuance costs
                                                     
          proceeds from term note modification, net of fees paid to lender
                                                     
          proceeds from issuances of 2029 convertible notes, net of issuance costs
                                                     
          repurchase of 2026 convertible notes, including premium
                 -138,638,000                                 
          redemption of 2026 convertible notes, including premium and redemption costs
             -27,000                                       
          repayment of assumed debt from ironshore acquisition
                                                    
          cash, cash equivalents and restricted cash at beginning of year
                                                     
          cash, cash equivalents and restricted cash at end of year
                                                     
          reconciliation of cash, cash equivalents and restricted cash to the consolidated balance sheets
                                                     
          acquisition of property and equipment in accounts payable and accrued liabilities
                 123,000                                    
          note issuance costs in accounts payable and accrued expenses
                    434,000                                 
          excise tax on share repurchases in accrued liabilities
                                                     
          acquisition date fair value of contingent consideration
                                                     
          business combination consideration payable
                                                    
          repurchases of common stock, including the asr agreement
                                                   
          proceeds from term note modification, net of fees paid to lender of 11,825
                                                    
          acquisition of property and equipment included in accounts payable and accrued liabilities
          190,000                                           
          contingent consideration
                                                     
          miscellaneous costs of redemption of 2026 convertible notes
                                                     
          amortization and impairment expense
                                                     
          acquisition of bdsi
                     -572,069,000                             
          proceeds from issuances of 2029 convertible notes, net of issuance costs of 6,280
                                                   
          ​
                                                     
          reconciliation of cash, cash equivalents and restricted cash to the consolidated balance sheets:
                                                     
          proceeds from issuances of 2029 convertible notes, net of issuance costs of 5,846
                    235,654,000                                 
          note issuance costs in accounts payable and accrued liabilities
                                                     
          proceeds from term note modification
                     517,682,000                             
          inventory used in the construction and installation of property and equipment
                         516,000 487,000 1,199,000 219,000 394,000                     
          net loss
                   13,007,000 -17,426,000             -2,201,000 -6,109,000 -4,712,000 -9,700,000 9,086,000 -16,502,000 -13,060,000 -18,652,000 -17,403,000 -13,263,000 -21,121,000 -23,078,000 -27,559,000 -26,445,000 -24,519,000 -15,653,000 -9,525,000 -9,361,000 -4,675,000 -3,694,000 
          adjustments to reconcile net loss to net cash from operating activities:
                                                     
          accrued expenses
                   11,247,000 -12,131,000 13,588,000 -17,060,000 -821,000 -6,838,000 10,805,000 -8,997,000 10,998,000 -8,029,000 7,393,000 -6,586,000 7,323,000 -15,968,000 13,284,000 -3,943,000 4,978,000 -8,263,000 7,814,000 -2,736,000 5,017,000 8,900,000 -10,842,000 9,241,000 3,595,000 -2,521,000 2,161,000 1,101,000 3,323,000 -15,000 -453,000   872,000 
          acquisition of property and equipment in accounts payable and accrued expenses
                      155,000 -43,000 148,000 -229,000 246,000 -505,000 560,000 -445,000 -817,000 1,163,000 392,000 -418,000 40,000                   
          purchase of intangible asset
                             -1,415,000 -366,811,000                     
          proceeds from issuance of term note, net of issuance costs of 2,456
                                                   
          proceeds from convertible senior notes, net of issuance costs of 5,473
                                                   
          repayment of term loan
                             -11,500,000                     
          accrued royalties discharged upon closing of asset acquisition
                             1,145,000                     
          receivable from stock option exercises in other current assets
                                  -28,000 33,000                 
          accrued repurchases of common stock
                                                     
          other long-term liabilities
                                 -676,000                 
          cash paid for offering costs
                                     30,000 781,000 360,000    128,000 384,000     
          operating lease assets assumed
                                 9,957,000                 
          operating lease liabilities assumed
                                 10,691,000                 
          proceeds from issuance of term note, net of issuance costs of 2,200
                                192,373,000                     
          proceeds from convertible senior notes, net of issuance costs of 4,956
                                138,794,000                     
          asset acquisition transaction costs in accounts payable and accrued expenses
                                1,415,000                     
          term notes issuance costs in accounts payable and accrued expenses
                                256,000                     
          convertible senior notes issuance costs in accounts payable and accrued expenses
                                517,000                     
          non-cash interest expense for nucynta asset acquisition
                                                     
          payments made for employee restricted stock tax withholdings
                             -86,000 -247,000 -564,000 -1,358,000 -101,000 -198,000 -35,000 -488,000 -90,000 -114,000 -140,000 -216,000 -17,000 -51,000         
          proceeds from issuance of common stock from public offerings, net of issuance costs of -, - and 30, respectively
                                                     
          proceeds from term loan amendment, net of repayment of amended term loan
                                      1,000 10,020,000             
          repayment of asset acquisition obligations
                                     -33,750,000 -33,750,000 -51,455,000 -13,045,000             
          liabilities assumed from nucynta asset acquisition included in accrued rebates, returns and discounts
                                                     
          liabilities assumed from nucynta asset acquisition included as a reduction to accounts receivable
                                                     
          warrant issued in connection with nucynta asset acquisition
                                                     
          net decrease in cash, cash equivalents and restricted cash
                                -51,196,000                     
          amortization expense for nucynta asset acquisition
                                 3,688,000 3,688,000 3,688,000 3,688,000                 
          depreciation and amortization, excluding nucynta asset acquisition
                                 196,000 180,000 171,000 184,000                 
          non-cash impairment charges
                                                     
          lease incentive obligation
                                                     
          upfront cash paid for nucynta asset acquisition
                                                     
          proceeds from issuances of common stock from public offerings, net of issuance costs of -, 30 and 1,198, respectively
                                                     
          cash paid for common stock offerings costs
                                      -30,000             
          offering costs in accrued expenses
                                       25,000 -5,000 35,000 -87,000 112,000         
          non-cash interest expense
                                     2,169,000 5,641,000 5,943,000 5,528,000             
          inventories
                                    -924,000 1,412,000 -685,000 -642,000 134,000 -412,000 119,000 -25,000 -179,000 260,000 -362,000       
          operating lease asset and liabilities
                                    734,000                 
          cash, and cash equivalents and restricted cash at end of period
                                    134,910,000 6,843,000 6,043,000 4,795,000 128,952,000             
          acquisition of property and equipment in accrued expenses
                                    810,000 1,805,000 272,000 1,055,000 129,000 119,000 -207,000 205,000 99,000         
          asset acquisition transaction costs in accrued expenses
                                        116,000             
          upfront cash paid for onsolis asset acquisition
                                                     
          proceeds from issuances of common stock from public offerings, net of issuance costs of 30, 1,198 and 845, respectively
                                                     
          proceeds from term loan amendment
                                                     
          nucynta amortization expense
                                      32,407,000               
          depreciation and other amortization expense
                                      154,000               
          cash paid for asset acquisition
                                      -116,000 -18,761,000             
          proceeds from issuances of common stock from public offerings, net of issuance costs of 0 and 507
                                                     
          receivable from issuance of common stock from at-the-market offering in other current assets
                                                     
          liabilities assumed from asset acquisition in accrued rebates, returns and discounts
                                      22,660,000             
          repayment of term note
                                         -667,000 -667,000 -667,000 -666,000 -667,000 -667,000 -666,000 -667,000     
          depreciation and amortization
                                         130,000 132,000 124,000 208,000 295,000 273,000 44,000 43,000 41,000 38,000 46,000 46,000 
          refundable pdufa fee
                                                 2,335,000 
          purchase of intangible assets
                                                   
          proceeds from issuances of common stock from public offerings, net of issuance costs of 1,198, 845 and 2,408, respectively
                                                     
          proceeds from issuance of series d convertible redeemable preferred stock, net of issuance costs of 193
                                                 44,807,000 
          repayment of lease note payable
                                                 -15,000    
          net increase in cash and cash equivalents
                                         11,086,000 -3,598,000 -18,349,000 -23,667,000 62,197,000 -19,719,000 -23,983,000 39,033,000 -9,763,000    
          cash and cash equivalents at beginning of period
                                         153,225,000 95,697,000 1,634,000 
          cash and cash equivalents at end of period
                                         11,086,000 -3,598,000 -18,349,000 129,558,000 62,197,000 -19,719,000 -23,983,000 134,730,000 -9,763,000 -6,953,000 67,424,000 44,989,000 
          preferred stock conversion to common stock
                                                   
          extinguishment of preferred stock
                                                     
          accruals of dividends and accretion to redemption value
                                                 23,346,000 1,226,000 
          conversion of bridge note to preferred stock
                                                 5,000,000 
          lease incentive
                                          -9,000   -9,000 -8,000   -9,000    
          proceeds from issuances of common stock from public offerings, net of issuance costs of 507 and 526
                                                     
          proceeds from issuances of common stock from public offerings, net of issuance costs of 526
                                                     
          payments of offering costs for at-the-market equity program
                                                     
          non cash interest expense
                                                    
          change in fair value of derivative liability
                                                     
          proceeds from issuance of convertible bridge note
                                                     
          proceeds from issuances of common stock from public offerings, net of issuance costs of 845 and 2,408
                                                     
          proceeds from notes payable, net of original note payoff
                                                     
          repayment of term note with proceeds of notes payable
                                                     
          proceeds from issuance of common stock, net of issuance costs of 526 and 2,408
                                              445,000       
          prepaid expenses and other current assets
                                               -716,000 365,000 -321,000    
          accruals of offering costs
                                                128,000     
          proceeds from issuance of common stock, net of issuance costs of 526
                                                51,174,000     
          accrual of back end fees related to note payable
                                                     
          proceeds from issuance of common stock, net of issuance costs of 2,408
                                                   
          proceeds from issuance of series c convertible redeemable preferred stock, net of issuance costs of 45
                                                     
          performance adjustment to series a and common shares
                                                     
          (repayment of) borrowing from term note
                                                     
          cash paid for taxes
                                                  2,000 1,000 1,000 
          net cash provided by financing activities
                                                   71,858,000 45,036,000 
          net increase (decrease) in cash and cash equivalents
                                                   67,424,000 43,355,000 
          repayment of term note with proceeds of note payable
                                                     
          proceeds from the exercise of common stock options
                                                    460,000