7Baggers

Amphastar Pharmaceuticals, Inc
(NASDAQ:AMPH) 

AMPH stock logo

Amphastar Pharmaceuticals, Inc., a specialty pharmaceutical company, develops, manufactures, markets, and sells generic and proprietary injectable, inhalation, and intranasal products in the United States, China, and France. The company operates through two segments, Finished Pharmaceutical Products...

Founded: 1996
Full Time Employees: 2,027
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 2014-12-31 2014-09-30 2014-06-30 
                                                    
      total net revenues
    171,171,000 183,105,000 191,840,000 174,414,000 170,528,000 186,523,000 191,214,000 182,394,000 171,836,000 178,105,000 180,556,000 145,712,000 140,022,000 135,023,000 120,129,000 123,467,000 120,368,000 120,887,000 112,198,000 101,663,000 103,020,000 95,921,000 83,431,000 85,806,000 84,688,000 83,383,000 80,137,000 79,047,000 79,790,000 89,690,000 75,543,000 71,040,000 58,393,000 60,402,000 57,916,000 65,187,000 56,670,000 63,543,000 64,223,000 68,033,000 59,366,000 76,912,000 63,868,000 53,853,000 56,886,000 55,877,000 59,711,000 49,003,000 
      yoy
    0.38% -1.83% 0.33% -4.38% -0.76% 4.73% 5.90% 25.17% 22.72% 31.91% 50.30% 18.02% 16.33% 11.69% 7.07% 21.45% 16.84% 26.03% 34.48% 18.48% 21.65% 15.04% 4.11% 8.55% 6.14% -7.03% 6.08% 11.27% 36.64% 48.49% 30.44% 8.98% 3.04% -4.94% -9.82% -4.18% -4.54% -17.38% 0.56% 26.33% 4.36% 37.65% 6.96% 9.90%     
      qoq
    -6.52% -4.55% 9.99% 2.28% -8.58% -2.45% 4.84% 6.14% -3.52% -1.36% 23.91% 4.06% 3.70% 12.40% -2.70% 2.57% -0.43% 7.74% 10.36% -1.32% 7.40% 14.97% -2.77% 1.32% 1.57% 4.05% 1.38% -0.93% -11.04% 18.73% 6.34% 21.66% -3.33% 4.29% -11.15% 15.03% -10.82% -1.06% -5.60% 14.60% -22.81% 20.42% 18.60% -5.33% 1.81% -6.42% 21.85%  
      cost of revenues
    100,849,000 97,435,000 93,194,000 87,924,000 85,277,000 99,875,000 89,273,000 87,228,000 81,736,000 81,965,000 72,153,000 72,974,000 66,182,000 63,855,000 61,619,000 60,111,000 64,542,000 64,653,000 61,015,000 54,287,000 58,074,000 59,089,000 46,923,000 52,629,000 47,865,000 50,002,000 44,885,000 46,660,000 48,887,000 55,001,000 46,283,000 44,884,000 41,332,000 39,823,000 37,275,000 38,440,000 33,842,000 43,582,000 36,611,000 36,319,000 34,464,000        
      gross profit
    70,322,000 85,670,000 98,646,000 86,490,000 85,251,000 86,648,000 101,941,000 95,166,000 90,100,000 96,140,000 108,403,000 72,738,000 73,840,000 71,168,000 58,510,000 63,356,000 55,826,000 56,234,000 51,183,000 47,376,000 44,946,000 36,832,000 36,508,000 33,177,000 36,823,000 33,381,000 35,252,000 32,387,000 30,903,000 34,689,000 29,260,000 26,156,000 17,061,000 20,579,000 20,641,000 26,747,000 22,828,000 19,961,000 27,612,000 31,714,000 24,902,000 33,171,000 17,578,000 13,318,000 13,280,000 11,960,000 11,791,000 14,996,000 
      yoy
    -17.51% -1.13% -3.23% -9.12% -5.38% -9.87% -5.96% 30.83% 22.02% 35.09% 85.27% 14.81% 32.27% 26.56% 14.32% 33.73% 24.21% 52.68% 40.20% 42.80% 22.06% 10.34% 3.56% 2.44% 19.16% -3.77% 20.48% 23.82% 81.13% 68.57% 41.76% -2.21% -25.26% 3.10% -25.25% -15.66% -8.33% -39.82% 57.08% 138.13% 87.52% 177.35% 49.08% -11.19%     
      qoq
    -17.92% -13.15% 14.05% 1.45% -1.61% -15.00% 7.12% 5.62% -6.28% -11.31% 49.03% -1.49% 3.75% 21.63% -7.65% 13.49% -0.73% 9.87% 8.04% 5.41% 22.03% 0.89% 10.04% -9.90% 10.31% -5.31% 8.85% 4.80% -10.91% 18.55% 11.87% 53.31% -17.10% -0.30% -22.83% 17.17% 14.36% -27.71% -12.93% 27.36% -24.93% 88.71% 31.99% 0.29% 11.04% 1.43% -21.37%  
      gross margin %
    41.08% 46.79% 51.42% 49.59% 49.99% 46.45% 53.31% 52.18% 52.43% 53.98% 60.04% 49.92% 52.73% 52.71% 48.71% 51.31% 46.38% 46.52% 45.62% 46.60% 43.63% 38.40% 43.76% 38.67% 43.48% 40.03% 43.99% 40.97% 38.73% 38.68% 38.73% 36.82% 29.22% 34.07% 35.64% 41.03% 40.28% 31.41% 42.99% 46.62% 41.95% 43.13% 27.52% 24.73% 23.34% 21.40% 19.75% 30.60% 
      operating expenses:
                                                    
      selling, distribution, and marketing
    11,927,000 10,279,000 11,505,000 10,235,000 11,866,000 10,424,000 8,995,000 9,012,000 9,371,000 8,619,000 6,407,000 6,718,000 7,109,000 5,472,000 4,784,000 5,756,000 5,519,000 4,075,000 4,745,000 4,129,000 4,537,000 3,787,000 3,673,000 4,026,000 3,294,000 3,476,000 3,221,000 2,992,000 3,141,000 2,596,000 1,963,000 1,876,000 1,721,000 1,629,000 1,756,000 1,596,000 1,479,000 1,491,000 1,291,000 1,332,000 1,352,000 1,307,000 1,171,000 1,470,000 1,522,000 1,498,000 1,454,000 1,352,000 
      general and administrative
    18,028,000 16,471,000 39,467,000 13,991,000 15,996,000 12,938,000 14,821,000 13,285,000 15,676,000 13,122,000 12,654,000 12,281,000 13,483,000 10,628,000 11,984,000 9,979,000 12,470,000 10,621,000 10,910,000 14,565,000 15,338,000 12,033,000 11,674,000 15,924,000 10,746,000 10,505,000 11,021,000 12,426,000 16,327,000 13,814,000 13,407,000 11,669,000 10,998,000 9,221,000 11,665,000 12,234,000 11,338,000 10,703,000 10,801,000 9,458,000 10,870,000 8,711,000 9,034,000 11,308,000 12,451,000 9,769,000 9,556,000 8,638,000 
      research and development
    26,737,000 23,314,000 22,354,000 20,080,000 20,096,000 18,142,000 21,077,000 17,652,000 17,043,000 20,419,000 16,664,000 16,843,000 19,815,000 17,236,000 18,514,000 22,798,000 16,223,000 17,286,000 10,759,000 18,122,000 14,765,000 18,133,000 17,644,000 16,149,000 15,303,000 19,644,000 18,606,000 15,996,000 14,607,000 16,734,000 11,340,000 15,468,000 14,260,000 11,393,000 10,040,000 10,732,000 11,250,000 12,608,000 9,723,000 10,480,000 8,388,000 8,654,000 11,117,000 10,726,000 6,568,000 7,639,000 8,585,000 5,994,000 
      total operating expenses
    56,692,000 50,064,000 73,326,000 44,306,000 47,958,000 41,504,000 44,893,000 39,949,000 42,090,000 42,160,000 35,725,000 35,842,000 40,407,000 33,336,000 35,282,000 38,533,000 34,212,000 31,982,000 26,414,000 36,816,000 34,640,000 33,953,000 32,991,000 36,099,000 29,343,000 33,625,000 32,848,000 31,414,000 34,075,000 33,144,000 26,710,000 29,013,000 26,979,000 22,243,000 23,461,000 24,562,000 21,424,000 24,471,000 21,815,000 21,384,000 20,827,000 18,800,000 21,326,000 23,578,000 20,541,000 18,984,000 19,608,000 16,168,000 
      income from operations
    13,630,000 35,606,000 25,320,000 42,184,000 37,293,000 45,144,000 57,048,000 55,217,000 48,010,000 53,980,000 72,678,000 36,896,000 33,433,000 37,832,000 23,228,000 24,823,000 21,614,000 24,252,000 24,769,000 10,560,000 10,306,000 2,879,000 3,517,000 -2,922,000 7,480,000 -244,000 2,404,000 973,000 -3,172,000 1,545,000 2,550,000 -2,857,000 -9,918,000 -1,664,000 -2,820,000 2,185,000 1,404,000 -4,510,000 5,797,000 10,330,000 4,075,000 14,371,000 -3,748,000 -10,260,000 -7,261,000 -7,024,000 -7,817,000 -1,172,000 
      yoy
    -63.45% -21.13% -55.62% -23.60% -22.32% -16.37% -21.51% 49.66% 43.60% 42.68% 212.89% 48.64% 54.68% 56.00% -6.22% 135.07% 109.72% 742.38% 604.26% -461.40% 37.78% -1279.92% 46.30% -400.31% -335.81% -115.79% -5.73% -134.06% -68.02% -192.85% -190.43% -230.76% -806.41% -63.10% -148.65% -78.85% -65.55% -131.38% -254.67% -200.68% -156.12% -304.60% -52.05% 775.43%     
      qoq
    -61.72% 40.62% -39.98% 13.12% -17.39% -20.87% 3.32% 15.01% -11.06% -25.73% 96.98% 10.36% -11.63% 62.87% -6.43% 14.85% -10.88% -2.09% 134.55% 2.46% 257.97% -18.14% -220.36% -139.06% -3165.57% -110.15% 147.07% -130.67% -305.31% -39.41% -189.25% -71.19% 496.03% -40.99% -229.06% 55.63% -131.13% -177.80% -43.88% 153.50% -71.64% -483.43% -63.47% 41.30% 3.37% -10.14% 566.98%  
      operating margin %
    7.96% 19.45% 13.20% 24.19% 21.87% 24.20% 29.83% 30.27% 27.94% 30.31% 40.25% 25.32% 23.88% 28.02% 19.34% 20.10% 17.96% 20.06% 22.08% 10.39% 10.00% 3.00% 4.22% -3.41% 8.83% -0.29% 3.00% 1.23% -3.98% 1.72% 3.38% -4.02% -16.98% -2.75% -4.87% 3.35% 2.48% -7.10% 9.03% 15.18% 6.86% 18.68% -5.87% -19.05% -12.76% -12.57% -13.09% -2.39% 
      non-operating expenses:
                                                    
      interest income
    2,400,000 2,423,000 2,246,000 1,921,000 2,089,000 2,292,000 2,427,000 3,337,000 2,556,000 2,303,000 1,202,000 1,030,000 924,000 580,000 331,000 229,000 181,000 157,000 141,000 142,000 161,000 130,000 161,000 198,000 153,000 256,000 450,000 143,000 148,000 121,000 105,000 106,000 124,000 123,000 124,000 87,000 91,000 83,000 63,000 50,000 74,000 75,000 83,000 65,000 92,000 89,000 94,000 32,000 
      interest expense
    -6,553,000 -6,630,000 -6,284,000 -6,281,000 -6,286,000 -6,425,000 -6,698,000 -8,609,000 -8,611,000 -9,456,000 -13,702,000 -3,602,000 -398,000 -528,000 -566,000 -397,000 -355,000 -168,000 -527,000 -86,000 -104,000 -88,000 -175,000 -35,000 -76,000 -43,000 -22,000 -24,000 -30,000 -1,000 -124,000 -100,000 -18,000 -134,000 -264,000 -237,000 -191,000 -54,000 -281,000 -305,000 -384,000 -204,000 -232,000 -210,000 -341,000 550,000 -504,000 -476,000 
      other income (expenses)
    575,000 515,000 231,000 1,511,000 -2,234,000 2,951,000 -5,094,000 298,000 5,921,000 -5,482,000 3,459,000 -1,516,000 -390,000 3,376,000 -397,000 -1,504,000 7,593,000   3,601,000  769,500 3,575,000 1,255,000    60,001,000 -579,000 -1,076,000 43,000 -1,265,000                 
      total non-operating expenses
    -3,578,000 -3,692,000 -3,807,000 -2,849,000 -6,431,000                    -1,675,000                        
      income before income taxes
    10,052,000 31,914,000 21,513,000 39,335,000 30,862,000 43,962,000 47,683,000 50,243,000 47,876,000 41,345,000 63,637,000 32,808,000 33,569,000 41,260,000 22,596,000 23,151,000 29,033,000 27,162,000 37,646,000 14,217,000 5,114,000 -6,742,000 7,078,000 -1,504,000 5,805,000 1,186,000 1,582,000 61,093,000 -3,633,000 589,000 2,574,000 -4,116,000 -9,030,000 -1,063,000 -1,991,000 3,173,000 1,504,000 -4,623,000 6,001,000 9,752,000 3,816,000 10,338,000 -4,276,000 -10,229,000 -6,197,000 -5,817,000 -7,984,000 -1,876,000 
      income tax provision
    3,632,000 7,485,000 4,163,000 8,305,000 5,577,000 5,998,000 7,254,000 12,294,000 4,126,000 4,673,000 14,025,000 6,383,000 6,752,000 7,290,000 6,559,000 5,551,000 4,077,000 7,194,000 6,686,000 5,595,000 1,155,000 -950,000 2,285,000 -75,000 2,280,000 431,000 598,000 14,173,000                     
      net income
    6,420,000 24,429,000 17,350,000 31,030,000 25,285,000 37,964,000 40,429,000 37,949,000 43,177,000 36,167,000 49,222,000 26,124,000 26,032,000 33,913,000 15,874,000 17,346,000 24,253,000 19,760,000 30,960,000 8,622,000 3,959,000 -5,792,000 4,793,000 -1,429,000 3,525,000 755,000 984,000 46,920,000 -2,154,000 1,718,000 1,616,000 -2,790,000 -7,246,000 1,468,000 175,000 1,972,000 893,000 -2,742,000 3,890,000 6,895,000 2,489,000 7,533,000 -3,008,000 -6,647,000 -665,000 -2,521,000 -5,379,000 -1,180,000 
      yoy
    -74.61% -35.65% -57.09% -18.23% -41.44% 4.97% -17.86% 45.26% 65.86% 6.65% 210.08% 50.61% 7.34% 71.62% -48.73% 101.18% 512.60% -441.16% 545.94% -703.36% 12.31% -867.15% 387.09% -103.05% -263.65% -56.05% -39.11% -1781.72% -70.27% 17.03% 823.43% -241.48% -911.42% -153.54% -95.50% -71.40% -64.12% -136.40% -229.32% -203.73% -474.29% -398.81% -44.08% 463.31%     
      qoq
    -73.72% 40.80% -44.09% 22.72% -33.40% -6.10% 6.54% -12.11% 19.38% -26.52% 88.42% 0.35% -23.24% 113.64% -8.49% -28.48% 22.74% -36.18% 259.08% 117.78% -168.35% -220.84% -435.41% -140.54% 366.89% -23.27% -97.90% -2278.27% -225.38% 6.31% -157.92% -61.50% -593.60% 738.86% -91.13% 120.83% -132.57% -170.49% -43.58% 177.02% -66.96% -350.43% -54.75% 899.55% -73.62% -53.13% 355.85%  
      net income margin %
    3.75% 13.34% 9.04% 17.79% 14.83% 20.35% 21.14% 20.81% 25.13% 20.31% 27.26% 17.93% 18.59% 25.12% 13.21% 14.05% 20.15% 16.35% 27.59% 8.48% 3.84% -6.04% 5.74% -1.67% 4.16% 0.91% 1.23% 59.36% -2.70% 1.92% 2.14% -3.93% -12.41% 2.43% 0.30% 3.03% 1.58% -4.32% 6.06% 10.13% 4.19% 9.79% -4.71% -12.34% -1.17% -4.51% -9.01% -2.41% 
      net income per share
                                                    
      basic
    0.14 0.53 0.38 0.66 0.53 0.79 0.83 0.77 0.9 0.75 1.01 0.54 0.54 0.7 0.32 0.35 0.5 0.41 0.62 0.16 0.11 -0.13 0.08  0.09 -0.02 0.03 1.01 0.02 0.04 0.05 -0.06 -0.16 0.03  0.04 0.02 -0.06 0.09 0.15 0.06 0.17 -0.07 -0.15  -50 -120 -30 
      diluted
    0.14 0.51 0.37 0.64 0.51 0.74 0.78 0.73 0.81 0.69 0.91 0.49 0.5 0.65 0.3 0.33 0.47 0.4 0.59 0.16 0.1 -0.13 0.08  0.08 -0.02 0.03 0.96 0.02 0.04 0.05 -0.06 -0.16 0.03  0.04 0.02 -0.07 0.08 0.15 0.05 0.17 -0.07 -0.15  -50 -120 -30 
      weighted-average shares used for eps calculation
                                                    
      basic
    45,322 46,743 46,474 46,949 47,641 48,429 48,621 48,907 48,212 48,265 48,701 48,404 48,000 48,551 48,904 48,864 48,138 47,777 48,022 47,731 47,520 47,038 47,496 46,753 46,408 46,982 47,239 47,107 46,744 46,395 46,241 46,557 46,514 46,107 46,101 46,025 46,069 45,375 45,398 44,957 45,041 44,961 45,310 44,849 44,601,000 41,957,000 44,644,000 39,767,000 
      diluted
    46,458 48,215 47,677 48,128 49,890 52,058 51,862 52,046 53,013 53,001 53,921 53,102 51,970 52,427 52,788 53,227 51,979 49,784 50,009 49,552 49,518 49,124 49,848 46,753 48,248 49,907 50,075 49,894 50,416 46,395 48,281 46,557 46,514 48,367 48,215 47,866 48,057 47,504 47,953 45,968 46,810 44,961 45,310 44,849 44,601,000 41,957,000 44,644,000 39,767,000 
      net revenues:
                                                    
      product revenues
     183,105,000 191,840,000 174,414,000 170,528,000 186,978,000 188,819,000 179,388,000 157,629,000 155,649,000 151,855,000                                      
      other revenues
         -455,000 2,395,000 3,006,000 14,207,000 22,456,000 28,701,000                                      
      income before equity in losses of unconsolidated affiliate
     24,429,000 17,350,000 31,030,000 25,285,000 37,964,000 40,429,000 37,949,000 43,750,000 36,672,000 49,612,000 26,425,000 26,817,000 33,970,000 16,037,000 17,600,000 24,956,000                                
      equity in losses of unconsolidated affiliate
            -573,000 -505,000 -390,000 -301,000 -785,000 -57,000 -163,000 -254,000 -703,000                                
      non-operating income
                                                    
      total non-operating income (expenses)
         -1,182,000 -9,365,000 -4,974,000 -134,000 -12,635,000 -9,041,000 -4,088,000 136,000 3,428,000 -632,000 -1,672,000 7,419,000     826,000 3,561,000 1,418,000    60,120,000 -461,000 -956,000 24,000 -1,259,000                 
      net income attributable to non-controlling interests
                      1,412,000 855,000  -196,750 874,000                          
      net income attributable to amphastar pharmaceuticals, inc.
                 33,913,000 15,874,000 17,346,000 24,253,000 19,760,000 29,548,000 7,767,000 5,041,000 -6,273,000 3,919,000 -192,000 3,949,000 -1,026,000 1,310,000 47,787,000 868,000 1,867,000 2,389,000                  
      net loss attributable to non-controlling interests
                        -1,082,000   -1,237,000 -424,000 1,781,000 -326,000 -867,000 -3,022,000 -149,000 -773,000                  
      non-operating income:
                                                    
      other income
                     2,903,750 13,263,000              782,000 576,750 969,000 1,138,000 200,000 -142,000 422,000 -323,000 51,000 -3,904,000 -379,000 176,000 1,313,000 568,000 243,000 -260,000 
      total non-operating income
                     2,835,500 12,877,000              888,000 479,250 829,000 988,000 100,000 -158,250 204,000 -578,000 -259,000 -4,033,000 -528,000 31,000 1,064,000 1,207,000 -167,000  
      non-operating (expenses) income:
                                                    
      total non-operating (expenses) income
                       3,657,000 -5,192,000     1,430,000 -822,000                      
      other expenses
                        -5,249,000    -1,752,000                        
      other (expenses) income
                             14,543,000 -1,250,000                      
      income tax benefit
                                -1,479,000             -2,595,500 -1,268,000 -3,582,000 -5,532,000    
      gain on sale of intangible assets
                                        -2,643,000            
      income tax expense
                                 -1,129,000 958,000 -1,326,000 -1,784,000 -2,531,000 -2,166,000 1,201,000 611,000 -1,881,000 2,111,000 2,857,000 1,327,000     -3,296,000 -2,605,000 -696,000 
      impairment of long-lived assets
                                         82,750  114,000 217,000 128,000 4,000 74,000  78,000 13,000 184,000 
      cost of revenue
                                             32,607,750 46,290,000 40,535,000 43,606,000 43,917,000 47,920,000 34,007,000 
      net loss per common share:
                                                    
      basic
                                                -10    
      diluted
                                                -10    
      net income per common share:
                                                    
      basic
    0.14 0.53 0.38 0.66 0.53 0.79 0.83 0.77 0.9 0.75 1.01 0.54 0.54 0.7 0.32 0.35 0.5 0.41 0.62 0.16 0.11 -0.13 0.08  0.09 -0.02 0.03 1.01 0.02 0.04 0.05 -0.06 -0.16 0.03  0.04 0.02 -0.06 0.09 0.15 0.06 0.17 -0.07 -0.15  -50 -120 -30 
      diluted
    0.14 0.51 0.37 0.64 0.51 0.74 0.78 0.73 0.81 0.69 0.91 0.49 0.5 0.65 0.3 0.33 0.47 0.4 0.59 0.16 0.1 -0.13 0.08  0.08 -0.02 0.03 0.96 0.02 0.04 0.05 -0.06 -0.16 0.03  0.04 0.02 -0.07 0.08 0.15 0.05 0.17 -0.07 -0.15  -50 -120 -30 
      total other income
                                                   -704,000 
    Balance Sheets:
    Quarterly
    Annual
      Unit: USD2026-03-31 2025-12-31 2025-09-30 2025-06-30 2025-03-31 2024-12-31 2024-09-30 2024-06-30 2024-03-31 2023-12-31 2023-09-30 2023-06-30 2023-03-31 2022-12-31 2022-09-30 2022-06-30 2022-03-31 2021-12-31 2021-09-30 2021-06-30 2021-03-31 2020-12-31 2020-09-30 2020-06-30 2020-03-31 2019-12-31 2019-09-30 2019-06-30 2019-03-31 2018-12-31 2018-09-30 2018-06-30 2018-03-31 2017-12-31 2017-09-30 2017-06-30 2017-03-31 2016-12-31 2016-09-30 2016-06-30 2016-03-31 2015-12-31 2015-09-30 2015-06-30 2015-03-31 2014-12-31 2014-09-30 2014-06-30 
                                                      
        assets
                                                      
        current assets:
                                                      
        cash and cash equivalents
      170,939,000 170,177,000 216,265,000 187,689,000 182,782,000 151,609,000 192,116,000 189,619,000 201,148,000 144,296,000 266,778,000 148,595,000 176,615,000 156,098,000 157,244,000 166,157,000 172,627,000 126,353,000 106,610,000 105,432,000 101,601,000 92,642,000 87,910,000 87,388,000 54,845,000 73,685,000 85,611,000 120,373,000 79,096,000 86,337,000 68,734,000 48,070,000 54,547,000 65,594,000 66,920,000 82,544,000 76,766,000 72,354,000 66,598,000 66,660,000 63,332,000 66,074,000 70,681,000 74,463,000 68,588,000 67,828,000 72,881,000 64,081,000 
        restricted cash
      235,000 235,000 235,000 235,000 235,000 235,000 235,000 235,000 235,000 235,000 4,259,000 2,685,000 235,000 235,000 235,000 235,000 235,000 235,000 235,000 19,159,000 235,000 1,865,000 1,865,000 1,865,000 1,865,000 1,865,000 1,865,000 1,865,000 1,865,000                    
        short-term investments
      121,012,000 112,635,000 59,944,000 44,062,000 54,101,000 70,036,000 58,375,000 28,156,000 88,407,000 112,510,000 33,098,000 14,541,000 16,277,000 19,664,000 26,843,000 17,234,000 14,383,000 10,320,000 8,021,000 11,745,000 13,531,000 12,977,000 10,873,000 11,101,000 12,203,000 11,675,000 12,666,000 2,836,000 2,834,000 2,831,000 2,829,000 2,818,000 2,826,000 2,635,000 2,522,000 727,000 746,000 527,000 856,000          
        restricted short-term investments
      2,200,000 2,200,000 2,200,000 2,200,000 2,200,000 2,200,000 2,200,000 2,200,000 2,200,000 2,200,000 2,200,000 2,200,000 2,200,000 2,200,000 2,200,000 2,200,000 2,200,000 2,200,000 2,200,000 2,200,000 2,200,000 2,200,000 2,200,000 2,200,000 2,290,000 2,290,000 2,290,000 2,290,000 2,290,000      4,155,000 4,155,000 1,519,000 1,390,000 1,390,000          
        accounts receivable
      147,848,000 143,560,000 146,808,000 132,982,000 144,636,000 136,289,000 139,635,000 131,412,000 138,114,000 114,943,000 118,990,000 104,715,000 100,638,000 88,804,000 77,099,000 80,810,000 73,166,000 78,804,000 78,090,000 67,893,000 77,938,000 66,005,000 52,382,000 49,862,000 57,784,000 45,376,000 45,255,000 48,823,000 54,930,000 52,163,000 43,816,000 41,279,000 31,883,000 35,996,000 24,152,000 24,123,000 25,892,000 26,777,000 26,550,000 23,128,000 23,081,000 33,233,000 24,998,000 19,832,000 21,653,000 22,852,000 26,604,000 18,598,000 
        inventories
      170,194,000 176,890,000 185,932,000 191,731,000 185,476,000 153,741,000 130,316,000 122,411,000 115,494,000 105,833,000 109,978,000 104,617,000 103,647,000 103,584,000 103,250,000 98,733,000 95,147,000 92,807,000 100,240,000 97,931,000 97,110,000 96,831,000 108,870,000 104,726,000 107,900,000 110,501,000 109,854,000 99,232,000 78,580,000 69,322,000 65,414,000 61,678,000 62,780,000 63,609,000 69,640,000 74,457,000 78,137,000 79,754,000 90,650,000 88,327,000 82,242,000 70,665,000 72,422,000 80,174,000 84,887,000 82,332,000 88,052,000 106,017,000 
        income tax refunds and deposits
      9,605,000 17,167,000 2,065,000 1,603,000 758,000 1,747,000 5,349,000 667,000 784,000 526,000 1,506,000 1,329,000 731,000 171,000 11,365,000 5,878,000 223,000 126,000 520,000 718,000 800,000 385,000 1,455,000 682,000 814,000 311,000 890,000 226,000 1,592,000 49,000 3,186,000 7,542,000 12,194,000 6,036,000 443,000 386,000 210,000 22,000           
        prepaid expenses and other assets
      11,650,000 13,152,000 26,021,000 20,328,000 17,773,000 18,214,000 17,723,000 7,945,000 8,696,000 9,057,000 6,196,000 5,872,000 7,327,000 7,563,000 5,986,000 5,898,000 6,434,000 7,274,000 7,755,000 5,895,000 6,749,000 6,777,000 10,986,000 8,997,000 9,023,000 9,538,000 10,472,000 8,489,000 8,956,000 5,485,000 6,670,000 4,404,000 5,661,000 9,753,000 8,660,000 7,187,000 8,147,000 3,272,000 3,983,000 1,752,000 3,092,000 4,439,000 4,200,000 3,264,000 3,934,000 3,683,000 4,913,000 3,699,000 
        total current assets
      633,683,000 636,016,000 639,470,000 580,830,000 587,961,000 534,071,000 545,949,000 482,645,000 555,078,000 489,600,000 543,005,000 384,554,000 407,670,000 378,319,000 384,222,000 377,145,000 364,415,000 318,119,000 303,671,000 310,973,000 300,164,000 279,682,000 276,541,000 266,821,000 246,724,000 255,241,000 268,903,000 284,134,000 230,143,000 220,342,000 194,804,000 169,946,000 174,046,000 187,778,000 176,492,000 193,579,000 191,417,000 184,096,000 190,186,000 181,313,000 173,442,000 175,934,000 199,059,000 203,898,000 202,597,000 197,996,000 215,180,000 214,227,000 
        property, plant, and equipment
      307,231,000 310,567,000 308,689,000 310,239,000 307,602,000 297,345,000 295,384,000 287,999,000 288,523,000 282,746,000 280,836,000 278,526,000 243,479,000 238,266,000 232,741,000 237,564,000 243,248,000 244,244,000 242,924,000 252,590,000 253,265,000 260,055,000 245,881,000 238,236,000 231,476,000 233,856,000 222,158,000 220,060,000 214,836,000 210,418,000 202,526,000 198,241,000 191,915,000 185,339,000 173,046,000 161,720,000 157,389,000 152,944,000 151,952,000 148,647,000 144,684,000 142,161,000 141,181,000 139,251,000 138,276,000 138,289,000 134,112,000 133,991,000 
        finance lease right-of-use assets
      185,000 221,000 259,000 296,000 335,000 383,000 426,000 469,000 516,000 564,000 610,000 657,000 706,000 753,000 601,000 201,000 278,000 353,000 428,000 540,000 594,000 612,000 693,000 774,000 798,000 887,000 896,000 985,000 1,094,000                    
        operating lease right-of-use assets
      71,496,000 42,931,000 44,577,000 44,199,000 45,822,000 46,899,000 31,708,000 32,104,000 31,352,000 32,333,000 32,666,000 26,327,000 25,801,000 25,554,000 26,456,000 26,962,000 27,843,000 26,894,000 27,663,000 27,169,000 19,280,000 20,042,000 20,256,000 17,086,000 17,934,000 18,805,000 19,463,000 20,143,000 13,480,000                    
        goodwill and intangible assets
      559,623,000 565,965,000 572,237,000 578,499,000 584,528,000 590,660,000 594,796,000 600,849,000 607,064,000 613,295,000 619,351,000 625,603,000 37,179,000 37,298,000 37,037,000 37,700,000 38,436,000 38,870,000 39,192,000 40,049,000 40,243,000 40,615,000 40,377,000 40,271,000 40,472,000 41,153,000 41,139,000 41,718,000 42,255,000 42,267,000 42,727,000 43,450,000 44,850,000 45,140,000 45,731,000 45,869,000 45,993,000 50,307,000 51,732,000 43,298,000 44,024,000 39,901,000 40,485,000 40,911,000 41,326,000 42,565,000 43,221,000 39,330,000 
        other assets
      33,480,000 31,135,000 29,866,000 28,099,000 22,991,000 25,992,000 23,663,000 24,260,000 23,369,000 25,910,000 25,299,000 20,269,000 18,536,000 20,856,000 20,549,000 18,683,000 16,301,000 16,665,000 11,610,000 9,444,000 7,212,000 5,250,000 7,735,000 12,635,000 11,192,000 11,156,000 12,331,000 13,515,000 12,292,000 9,918,000 11,127,000 11,752,000 10,714,000 8,663,000 10,623,000 10,955,000 8,939,000 9,390,000 7,544,000 7,884,000 5,412,000 4,696,000 4,364,000 4,962,000 4,447,000 3,588,000 2,502,000 3,602,000 
        deferred tax assets
      42,464,000 42,464,000 71,124,000 71,124,000 71,124,000 71,124,000 53,252,000 53,252,000 53,252,000 53,252,000 40,868,000 40,868,000 38,527,000 38,527,000 22,399,000 22,399,000 22,399,000 22,399,000 21,996,000 24,980,000 24,980,000 24,980,000 22,235,000 24,235,000 24,235,000 25,873,000 20,746,000 20,746,000 30,618,000 30,618,000 29,458,000 28,257,000 28,257,000 27,745,000 31,874,000 31,874,000 31,874,000 31,001,000 27,423,000 27,444,000 27,444,000  19,176,000 19,176,000 19,707,000 19,533,000 16,096,000 16,096,000 
        total assets
      1,648,162,000 1,629,299,000 1,666,222,000 1,615,333,000 1,626,276,000 1,577,470,000 1,545,178,000 1,491,522,000 1,574,317,000 1,512,912,000 1,544,633,000 1,378,266,000 773,656,000 741,987,000 726,695,000 723,719,000 716,238,000 671,529,000 651,677,000 665,745,000 645,738,000 631,236,000 613,718,000 600,058,000 572,831,000 586,971,000 585,636,000 601,301,000 544,718,000 513,563,000 480,642,000 451,646,000 449,782,000 454,665,000 437,766,000 443,997,000 435,612,000 427,738,000 428,837,000 408,586,000 395,006,000 390,136,000 395,027,000 398,929,000 396,502,000 389,370,000 401,133,000 397,268,000 
        liabilities and stockholders' equity
                                                      
        current liabilities:
                                                      
        accounts payable and accrued liabilities
      152,688,000 148,348,000 190,844,000 166,552,000 175,940,000 157,057,000 153,268,000 131,212,000 116,697,000 93,366,000 222,719,000 217,536,000 88,886,000 84,242,000 95,796,000 97,665,000 95,810,000 89,545,000 88,911,000 109,604,000 108,545,000 95,504,000 79,292,000 75,385,000 65,438,000 77,051,000 75,137,000 88,171,000 90,795,000 87,418,000 76,362,000 67,092,000 58,498,000 57,555,000               
        income taxes payable
      414,000 239,000 5,633,000 1,049,000 15,142,000 9,664,000 1,281,000 1,514,000 5,857,000 1,609,000 31,092,000 17,696,000 11,590,000 4,571,000 1,531,000 597,000 13,116,000 9,081,000 3,960,000 3,631,000 2,676,000 1,077,000 1,619,000 2,345,000 2,994,000 2,042,000 1,400,000 3,150,000 1,017,000 1,187,000 1,667,000 1,607,000 7,983,000 3,325,000 4,181,000 6,222,000 8,099,000 7,705,000 6,210,000 6,652,000 4,257,000 3,076,000 2,094,000 2,748,000 3,000,000 3,123,000 2,791,000 2,773,000 
        current portion of long-term debt
      1,671,000 1,641,000 923,000 927,000 224,000 234,000 252,000 249,000 428,000 436,000 433,000 12,920,000 2,168,000 3,046,000 1,680,000 2,057,000 2,159,000 2,202,000 2,256,000 8,077,000 12,173,000 12,263,000 12,167,000 12,075,000 11,458,000 7,741,000 6,969,000 6,941,000 17,587,000                    
        current portion of operating lease liabilities
      9,705,000 7,928,000 7,827,000 7,879,000 7,746,000 6,804,000 4,209,000 3,996,000 3,942,000 3,906,000 3,719,000 3,133,000 2,991,000 3,003,000 3,183,000 3,315,000 3,279,000 2,982,000 2,862,000 3,237,000 3,702,000 3,357,000 3,639,000 3,481,000 3,481,000 3,175,000 3,090,000 2,737,000 2,560,000                    
        total current liabilities
      164,478,000 158,156,000 205,227,000 176,407,000 199,052,000 173,759,000 159,010,000 136,971,000 255,169,000 225,407,000 257,963,000 251,285,000 105,635,000 94,862,000 102,190,000 103,634,000 114,364,000 103,810,000 97,989,000 124,549,000 127,096,000 112,201,000 96,717,000 93,286,000 83,371,000 90,009,000 86,596,000 100,999,000 111,959,000 106,834,000 96,621,000 87,590,000 72,542,000 67,192,000 57,397,000 63,701,000 72,861,000 60,617,000 60,837,000 65,667,000 64,921,000 59,955,000 70,653,000 69,404,000 72,090,000 62,595,000 63,082,000 56,282,000 
        long-term reserve for income tax liabilities
      5,926,000 5,926,000 6,957,000 6,957,000 6,957,000 6,957,000 6,066,000 6,066,000 6,066,000 6,066,000 7,225,000 7,225,000 7,225,000 7,225,000 6,531,000 6,531,000 6,531,000 6,531,000 4,709,000 4,709,000 4,709,000 4,709,000 3,425,000 3,425,000 3,425,000 3,425,000 415,000 415,000 415,000 415,000 879,000 879,000 879,000 879,000 845,000 845,000 845,000 845,000 497,000 497,000 497,000 497,000 514,000 514,000 1,046,000    
        long-term debt
      609,801,000 608,749,000 608,582,000 607,727,000 603,858,000 601,630,000 596,446,000 586,853,000 594,006,000 589,579,000 638,206,000 488,280,000 72,872,000 72,839,000 74,011,000 73,871,000 74,348,000 74,776,000 75,552,000 30,460,000 32,334,000 34,186,000 32,903,000 34,622,000 36,410,000 39,394,000 38,079,000 39,793,000 30,973,000                    
        long-term operating lease liabilities, net of current portion
      65,201,000 37,684,000 39,441,000 38,964,000 40,705,000 41,881,000 28,941,000 29,483,000 28,739,000 29,721,000 30,199,000 24,407,000 23,994,000 23,694,000 24,366,000 24,680,000 25,489,000 24,703,000 25,466,000 24,555,000 16,464,000 17,464,000 17,534,000 14,530,000 15,230,000 16,315,000 16,940,000 17,754,000 11,174,000                    
        other long-term liabilities
      29,365,000 29,979,000 29,269,000 27,796,000 24,421,000 20,945,000 27,037,000 18,803,000 17,981,000 22,718,000 15,699,000 17,633,000 15,175,000 14,565,000 14,190,000 15,332,000 15,494,000 15,653,000 14,884,000 13,484,000 13,420,000 13,212,000 11,354,000 10,998,000 10,257,000 9,433,000 8,977,000 9,027,000 8,864,000 8,940,000 7,963,000 7,631,000 8,126,000 7,060,000 1,971,000 1,868,000 1,768,000 1,770,000 1,966,000 2,024,000 2,134,000 1,907,000 631,000 757,000     
        total liabilities
      874,771,000 840,494,000 889,476,000 857,851,000 874,993,000 845,172,000 817,500,000 778,176,000 901,961,000 873,491,000 949,493,000 789,031,000 225,079,000 213,329,000 221,530,000 224,412,000 236,713,000 226,007,000 221,501,000 198,522,000 194,778,000 182,513,000 162,756,000 157,621,000 149,458,000 159,443,000 151,983,000 169,013,000 164,452,000 149,204,000 139,372,000 131,120,000 122,678,000 117,336,000 107,111,000 110,683,000 110,051,000 98,483,000 100,384,000 101,122,000 98,421,000 94,626,000 111,241,000 113,664,000 117,221,000 107,510,000 118,013,000 109,527,000 
        commitments and contingencies
                                                      
        stockholders’ equity:
                                                      
        preferred stock: par value 0.0001...
                                                      
        common stock: par value 0.0001...
      6,000 6,000 6,000 6,000 6,000 6,000 6,000 6,000 6,000 6,000 6,000 6,000 6,000 6,000 6,000 6,000 6,000 6,000 6,000 6,000 6,000 5,000 5,000 5,000 5,000 5,000 5,000 5,000 5,000 5,000 5,000 5,000 5,000 5,000 5,000 5,000 5,000 5,000 5,000          
        additional paid-in capital
      543,816,000 535,380,000 527,215,000 520,581,000 509,108,000 505,400,000 496,427,000 487,571,000 476,072,000 486,056,000 477,880,000 471,110,000 456,623,000 455,077,000 448,741,000 443,042,000 433,454,000 422,423,000 412,917,000 427,301,000 413,926,000 410,061,000 404,084,000 396,841,000 371,144,000 367,305,000 361,705,000 355,436,000 349,201,000 344,434,000 330,265,000 322,357,000 316,665,000 313,891,000 303,208,000 299,105,000 285,356,000 283,123,000 276,543,000 258,786,000 250,683,000 247,829,000 240,745,000 236,656,000 223,313,000 220,745,000 219,288,000 216,995,000 
        retained earnings
      673,301,000 666,881,000 642,451,000 625,102,000 594,071,000 568,787,000 530,823,000 490,394,000 452,445,000 409,268,000 373,102,000 323,880,000 297,755,000 271,723,000 237,810,000 221,936,000 204,590,000 180,337,000 160,577,000 130,581,000 122,814,000 117,773,000 124,046,000 120,127,000 120,319,000 116,370,000 117,396,000 116,086,000 68,299,000 67,485,000 65,618,000 66,780,000 69,570,000 76,235,000 74,767,000 74,592,000 72,620,000 70,855,000 73,597,000 69,707,000 62,812,000 60,323,000 52,790,000 55,798,000 62,445,000 63,110,000 65,631,000 71,010,000 
        accumulated other comprehensive loss
      -5,736,000 -5,314,000 -5,273,000 -5,361,000 -7,969,000 -9,181,000 -8,821,000 -8,826,000 -8,769,000 -8,478,000 -8,411,000 -8,324,000 -8,268,000 -8,624,000 -9,931,000 -8,709,000 -7,245,000 -6,765,000 -6,277,000 -4,931,000 -5,642,000 -3,721,000 -4,478,000 -5,173,000 -5,461,000 -4,687,000 -5,848,000 -4,223,000 -4,126,000 -4,013,000 -3,576,000 -3,166,000 -910,000 -2,100,000 -2,595,000 -3,220,000 -4,230,000 -4,696,000 -2,581,000 -2,690,000 -2,039,000 -2,475,000 -3,760,000 -4,134,000 -4,647,000 -1,654,000 -1,803,000 -268,000 
        treasury stock
      -437,996,000 -408,148,000 -387,653,000 -382,846,000 -343,933,000 -332,714,000 -290,757,000 -255,799,000 -247,398,000 -247,431,000 -247,437,000 -197,437,000 -197,539,000 -189,524,000 -171,461,000 -156,968,000 -151,280,000 -150,479,000 -137,047,000 -130,964,000 -125,546,000 -121,812,000 -118,425,000 -114,119,000 -108,493,000 -97,627,000 -83,853,000 -79,459,000 -78,393,000 -75,476,000 -72,896,000 -65,450,000 -58,226,000 -50,702,000 -44,730,000 -37,168,000 -28,190,000 -20,032,000 -19,111,000 -18,344,000 -14,876,000 -10,172,000 -5,994,000 -3,060,000 -1,834,000 -345,000   
        total stockholders' equity
      773,391,000 788,805,000 776,746,000                                              
        total liabilities and stockholders’ equity
      1,648,162,000 1,629,299,000 1,666,222,000 1,615,333,000 1,626,276,000 1,577,470,000 1,545,178,000 1,491,522,000 1,574,317,000 1,512,912,000 1,544,633,000 1,378,266,000 773,656,000 741,987,000 726,695,000 723,719,000 716,238,000 671,529,000 651,677,000 665,745,000 645,738,000 631,236,000 613,718,000 600,058,000 572,831,000 586,971,000 585,636,000 601,301,000 544,718,000 513,563,000 480,642,000 451,646,000 449,782,000 454,665,000 437,766,000 443,997,000 435,612,000 427,738,000 428,837,000 408,586,000 395,006,000 390,136,000 395,027,000 398,929,000 396,502,000 389,370,000 401,133,000 397,268,000 
        long-term investments
         2,047,000 5,913,000 10,996,000  9,944,000 15,163,000 14,685,000 972,000                                      
        total equity
         757,482,000 751,283,000 732,298,000 727,678,000 713,346,000 672,356,000 639,421,000 595,140,000 589,235,000 548,577,000 528,658,000 505,165,000 499,307,000 479,525,000 445,522,000 430,176,000 467,223,000 450,960,000 448,723,000 450,962,000 442,437,000 423,373,000 427,528,000 433,653,000 432,288,000 380,266,000 364,359,000 341,270,000                  
        investment in unconsolidated affiliate
               527,000 1,026,000 1,462,000 1,758,000 2,414,000 2,690,000 3,065,000 3,318,000 3,985,000                               
        accrued payments for baqsimi®
              128,245,000 126,090,000                                       
        deferred tax liabilities
                201,000 201,000 178,000 144,000 242,000 364,000 487,000 534,000 2,901,000 765,000 755,000 741,000 823,000 760,000 765,000 867,000 976,000 1,025,000 1,067,000 1,031,000 1,303,000 1,325,000 1,425,000 1,361,000 1,586,000 1,538,000 1,473,000 1,455,000        5,838,000  7,154,000 
        total amphastar pharmaceuticals, inc. stockholders’ equity
                       445,522,000 430,176,000 421,993,000 405,558,000 402,306,000 405,232,000 397,681,000 377,514,000 381,366,000 389,405,000 387,845,000 334,986,000 332,435,000 319,416,000                  
        non-controlling interests
                         45,230,000 45,402,000 46,417,000 45,730,000 44,756,000 45,859,000 46,162,000 44,248,000 44,443,000 45,280,000 31,924,000 21,854,000                  
        equity method investment
                        4,193,000                              
        commitments and contingencies:
                                                      
        restricted cash and short-term investments
                                   4,155,000 4,155,000 4,155,000 4,155,000 4,155,000               
        current portion of long-term debt and capital leases
                                   18,229,000 18,592,000 18,891,000 6,061,000 6,312,000 6,212,000 6,205,000 5,263,000 5,366,000 8,541,000 10,904,000 11,177,000 10,934,000 14,762,000 12,632,000 12,531,000 7,594,000 10,078,000 10,665,000 
        long-term debt and capital leases, net of current portion
                                   31,984,000 32,606,000 33,695,000 39,706,000 40,844,000 42,232,000 40,107,000 31,148,000 32,356,000 34,163,000 31,742,000 29,092,000 30,165,000 31,354,000 34,798,000 35,886,000 36,106,000 41,271,000 42,850,000 
        total stockholders’ equity
                                     320,526,000 327,104,000 337,329,000 330,655,000 333,314,000 325,561,000 329,255,000 328,453,000 307,464,000 296,585,000 295,510,000 283,786,000 285,265,000 279,281,000 281,860,000 283,120,000 287,741,000 
        accounts payable
                                        9,590,000 14,910,000 19,302,000 16,196,000 13,439,000 18,767,000 18,619,000 13,872,000 12,265,000 18,447,000 18,948,000 10,161,000 10,013,000 17,764,000 
        accrued liabilities
                                        16,421,000 17,633,000 22,597,000 15,703,000 14,695,000 11,174,000 13,522,000 16,732,000 22,622,000 14,922,000 14,663,000 13,144,000 10,446,000 10,491,000 
        accrued payroll and related benefits
                                        17,344,000 15,776,000 15,533,000 13,847,000 15,553,000 14,992,000 15,428,000 12,840,000 15,711,000 14,211,000 13,864,000 11,449,000 11,863,000 10,846,000 
        current portion of product return accrual
                                        3,649,000 2,955,000 2,067,000 1,800,000 1,569,000 1,517,000 1,275,000 1,858,000 2,395,000 1,918,000 2,042,000 1,918,000 2,498,000 3,100,000 
        long-term product return accrual
                                        1,865,000 2,201,000 1,676,000 1,343,000 1,137,000 1,026,000 598,000 763,000 751,000 692,000 539,000 490,000 791,000 938,000 
        long-term deferred revenue
                                        1,215,000 423,000 280,000 97,000 168,000 166,000 1,179,000 1,339,000 1,500,000 1,661,000 1,821,000 1,982,000 2,143,000 2,303,000 
        current portion of deferred revenue
                                            830,000 1,661,000 643,000 643,000 643,000 4,367,000 6,886,000 14,013,000 14,596,000 643,000 
        income tax refund and deposits
                                            159,000 56,000 410,000 238,000 6,297,000 5,704,000 2,333,000 273,000 5,139,000 4,241,000 
        long-term deferred tax liabilities
                                            1,616,000    5,838,000 5,838,000 5,839,000  10,726,000  
        restricted cash and restricted short-term investments
                                             1,390,000 1,285,000 1,285,000 1,285,000 1,285,000 1,495,000 1,495,000 1,495,000 1,495,000 
        liabilities and equity
                                                      
        preferred stock: par value .0001; authorized shares—20,000,000; no shares issued and outstanding
                                                      
        common stock: par value .0001; authorized shares—300,000,000; issued and outstanding shares—46,515,928 and 45,091,332 at june 30, 2016 and 45,960,206 and 45,198,491 at december 31, 2015, respectively
                                             5,000         
        common stock: par value .0001; authorized shares—300,000,000; issued and outstanding shares—46,100,797 and 44,942,101 at march 31, 2016 and 45,960,206 and 45,198,491 at december 31, 2015, respectively
                                              5,000        
        current portion of deferred tax liabilities
                                                161,000 159,000 156,000    
        common stock: par value .0001; authorized shares—300,000,000; issued and outstanding shares—45,960,206 and 45,198,491 at december 31, 2015 and 44,676,167 and 44,646,767 at december 31, 2014, respectively
                                               5,000       
        common stock: par value .0001; authorized shares—300,000,000; issued and outstanding shares—45,206,511 and 44,646,767 at september 30, 2015 and december 31, 2014, respectively
                                                5,000      
        common stock: par value .0001; authorized shares—300,000,000; issued and outstanding shares—45,329,468 and 44,646,767 at june 30, 2015 and december 31, 2014, respectively
                                                 5,000     
        common stock: par value .0001; authorized shares—300,000,000; issued and outstanding shares—44,662,037 and 44,646,767 at march 31, 2015 and december 31, 2014, respectively
                                                  4,000    
        current portion of deferred tax liability
                                                   1,193,000   
        long-term reserve for income tax liability
                                                   499,000   
        preferred stock: par value .0001; authorized shares—20,000,000; none issued
                                                      
        common stock; par value .0001; authorized shares—300,000,000; issued and outstanding shares—44,646,767 and 38,765,940 at december 31, 2014 and december 31, 2013, respectively
                                                   4,000   
        deferred tax liability
                                                    797,000  
        common stock; par value .0001; authorized shares—300,000,000; issued and outstanding shares—44,645,437 and 38,765,940 at september 30, 2014 and december 31, 2013, respectively
                                                    4,000  
        common stock; par value .0001; authorized shares—300,000,000; issued and outstanding shares—44,635,940 and 38,765,940 at june 30, 2014 and december 31, 2013, respectively
                                                     4,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 
                                                       
          cash flows from operating activities:
                                                       
          net income
        6,420,000 24,429,000 17,350,000 31,030,000 25,285,000 37,964,000 40,429,000 37,949,000 43,177,000 36,167,000 49,222,000 26,124,000 26,032,000 33,913,000 15,874,000 17,346,000 24,253,000 19,760,000 30,960,000 8,622,000 3,959,000 -5,792,000 4,793,000 -1,429,000 3,525,000 755,000 984,000   1,718,000 1,658,000 -2,790,000 -7,246,000 1,468,000 175,000 1,972,000 893,000 -2,742,000 3,890,000 6,895,000 2,489,000     -2,521,000 -5,379,000 
          reconciliation to net cash from operating activities:
                                                       
          loss on disposal of assets
        4,000 6,000 1,000 30,000 2,000 -101,000 2,000   1,000 467,000 5,000 2,000 193,000 6,000 -59,000 1,000 10,000 24,000 308,000 6,000                           
          loss on interest rate swaps and foreign currency transactions
        -416,000 471,000 285,000 -406,000 2,142,000 -4,288,000 6,085,000 56,000 -4,645,000   2,239,000 195,000 -1,072,000                                  
          depreciation of property, plant, and equipment
        8,078,000 8,071,000 7,860,000 8,347,000 7,369,000 7,257,000 7,221,000 6,955,000 6,816,000 6,646,000 6,438,000 5,869,000 6,252,000 6,200,000 6,204,000 5,796,000 5,615,000 5,396,000 5,351,000 5,763,000 5,686,000 5,545,000 5,415,000 4,815,000 4,716,000 4,546,000 4,216,000 4,153,000 4,158,000 4,115,000 3,844,000 3,369,000 3,201,000 3,204,000 3,141,000 3,135,000 3,100,000 3,038,000 3,014,000 3,048,000 2,947,000 2,798,000      
          amortization of intangible assets
        6,270,000 6,270,000 6,269,000 6,269,000 6,240,000                                           
          operating lease right-of-use asset amortization
        2,144,000 1,646,000 1,639,000 1,623,000 1,598,000 1,228,000 1,033,000 997,000 980,000 964,000 953,000 922,000 903,000 902,000 895,000 881,000 828,000 795,000 782,000 826,000 863,000 960,000 993,000 852,000 848,000 823,000 798,000                     
          amortization of discounts, premiums, and debt issuance costs
        761,000 866,000 885,000 842,000 762,000 724,000 744,000 2,436,000 2,128,000 2,913,000                                      
          share-based compensation expense
        9,274,000 6,205,000 6,297,000 6,382,000 8,393,000 5,632,000 5,596,000 5,780,000 7,360,000 4,622,000 4,644,000 4,865,000 6,111,000 4,304,000 4,299,000 4,235,000 5,022,000 3,850,000 3,919,000 6,084,000 4,834,000 4,333,000 4,370,000 6,513,000 5,282,000 4,295,000 4,294,000 4,032,000 4,674,000 3,910,000 3,908,000 4,196,000 4,666,000 4,182,000              
          changes in operating assets and liabilities:
                                                       
          accounts receivable
        -4,547,000 3,232,000 -13,791,000 12,267,000 -8,075,000 2,906,000 -8,055,000 6,679,000 -23,201,000 4,089,000 -19,642,000 1,263,000 -11,796,000 -11,555,000 3,601,000 -7,776,000 5,598,000 -755,000 -12,181,000 10,093,000 -12,078,000 -13,454,000 -2,252,000 8,033,000 -12,487,000 -20,000 5,022,000 2,761,000 -1,061,000 -8,439,000 -2,635,000 -9,856,000 4,635,000 -11,011,000 89,000 1,900,000 920,000 -379,000 -3,408,000 -34,000 10,198,000 -8,306,000 -5,156,000 1,829,000 621,000 3,229,000 -8,006,000 
          inventories
        6,248,000 9,009,000 5,860,000 -4,821,000 -31,111,000 -24,468,000 -7,309,000 -7,025,000 -9,995,000 4,813,000 -5,770,000 -1,035,000 268,000 1,176,000 -5,500,000 -4,735,000 -2,687,000 7,026,000 -4,109,000 -515,000 -1,144,000 12,946,000 -3,409,000 3,519,000 2,241,000 43,000 -11,134,000 -20,505,000 -9,507,000 -4,100,000 -3,509,000 184,000 1,441,000 6,268,000 5,417,000 5,074,000 1,891,000 9,762,000 -2,125,000 -6,578,000 -10,774,000 1,226,000 7,985,000 5,050,000 -4,486,000 4,956,000 16,397,000 
          prepaid expenses and other assets
        -2,326,000 9,828,000 -7,941,000 -4,568,000 -849,000 -237,000 -10,730,000 433,000 -192,000 -2,833,000 -635,000 521,000 219,000 -3,196,000 -2,729,000 2,651,000 1,420,000 1,109,000 853,000 491,000 1,119,000 1,706,000 -4,296,000 -953,000 1,494,000 3,000 -2,386,000 3,508,000 -4,729,000 1,804,000 -2,144,000 2,476,000 -761,000 -1,026,000 -2,685,000 -1,450,000 344,000 956,000 -3,002,000 1,783,000 1,392,000 5,817,000 -1,527,000 -2,678,000 -2,311,000 1,230,000 -1,225,000 
          income tax refunds, deposits, and payable
        7,742,000 -20,498,000 4,122,000 -14,937,000 6,470,000 11,981,000 -4,913,000 -4,226,000 3,992,000 -28,504,000 13,218,000 5,508,000 6,459,000 14,234,000 -4,554,000 -18,161,000 3,926,000 5,517,000 614,000 1,036,000 1,182,000 1,001,000                          
          operating lease liabilities
        -1,415,000 -1,656,000 -1,591,000 -1,608,000 -754,000 -884,000 -968,000 -951,000 -947,000 -922,000 -917,000 -888,000 -862,000 -851,000 -835,000 -773,000 -695,000 -669,000 -680,000 -1,095,000 -754,000 -1,119,000 -913,000 -741,000 -824,000                       
          accounts payable and accrued liabilities
        9,603,000 -42,644,000 25,338,000 -4,858,000 17,605,000 2,112,000 24,648,000 13,725,000 23,078,000 -3,388,000 8,002,000 3,050,000 5,573,000 -13,660,000 -218,000 3,700,000 9,442,000 -1,205,000 -14,924,000 269,000 18,876,000 12,938,000 3,608,000 9,742,000 -5,679,000 -3,375,000 -11,083,000 -2,819,000 5,557,000 8,427,000 10,324,000 7,550,000 2,858,000 8,707,000 -6,341,000 -7,997,000 12,318,000 1,977,000 -867,000 -4,014,000 2,081,000 -6,594,000 -921,000 -1,976,000 6,360,000 1,922,000 6,305,000 
          net cash from operating activities
        47,840,000 32,863,000 52,583,000 35,592,000 35,077,000 29,024,000 59,962,000 69,109,000 55,291,000 23,864,000 64,334,000 54,923,000 40,382,000 15,226,000 20,375,000 2,815,000 50,765,000 40,441,000 2,569,000 32,159,000 22,825,000 16,893,000 8,807,000 30,089,000 1,477,000 5,652,000 -12,003,000 51,723,000 -3,610,000 9,517,000 15,781,000 4,533,000 8,360,000 9,765,000 2,472,000 4,574,000 22,398,000 14,006,000 1,298,000 9,326,000 13,930,000 3,287,000 3,553,000 2,503,000 1,338,000 12,323,000 13,630,000 
          capital expenditures
        -6,000,000 -4,929,000 -3,528,000 -3,733,000 -3,945,000 -2,960,000 -3,780,000 -7,553,000 -4,028,000 
          free cash flows
        47,840,000 32,863,000 52,583,000 35,592,000 35,077,000 29,024,000 59,962,000 69,109,000 55,291,000 23,864,000 64,334,000 54,923,000 40,382,000 15,226,000 20,375,000 2,815,000 50,765,000 40,441,000 2,569,000 32,159,000 22,825,000 16,893,000 8,807,000 30,089,000 1,477,000 5,652,000 -12,003,000 51,723,000 -3,610,000 9,517,000 15,781,000 4,533,000 8,360,000 9,765,000 2,472,000 4,574,000 22,398,000 14,006,000 -4,702,000 4,397,000 10,402,000 -446,000 -392,000 -457,000 -2,442,000 4,770,000 9,602,000 
          cash flows from investing activities:
                                                       
          purchases and construction of property, plant, and equipment
        -9,507,000 -8,272,000 -5,348,000 -10,565,000 -10,697,000 -12,411,000 -13,793,000 -6,044,000 -8,793,000 -9,442,000 -10,193,000 -9,054,000 -9,477,000 -6,310,000 -5,623,000 -5,962,000 -6,139,000 -6,878,000 -7,219,000 -5,741,000 -7,618,000 -9,329,000 -5,631,000 -10,889,000 -8,006,000 -8,410,000 -8,678,000 -9,723,000 -14,744,000 -9,582,000 -12,635,000 -12,251,000 -12,340,000 -10,118,000 -11,413,000 -6,301,000 -7,267,000           
          purchase of investments
        -22,795,000 -68,305,000 -35,206,000 -8,527,000 -7,092,000 -29,285,000 -25,000,000 -22,507,000 -91,754,000 -33,028,000 -9,200,000 -10,574,000 -5,193,000 -18,564,000 -6,687,000 -5,317,000                               
          maturity of investments
        15,502,000 16,442,000 22,527,000 23,034,000 28,288,000 7,484,000 5,264,000 65,777,000 47,497,000 -179,000 13,650,000 11,087,000 14,064,000 12,504,000 9,074,000 3,856,000 2,535,000                               
          deposits and other assets
        67,000 -434,000 -1,592,000 -2,317,000 -18,000 -1,466,000 -1,057,000 -636,000 -960,000 -1,674,000 3,996,000                             -2,503,000 -713,000 -339,000 592,000 -522,000 -870,000 -1,102,000 1,089,000 
          net cash from investing activities
        -16,733,000 -60,569,000 -19,619,000 -625,000 10,481,000 -35,678,000 -34,586,000 -69,903,000 15,237,000 -103,049,000 -31,152,000 -508,582,000 -6,333,000 -229,000 -15,258,000 -8,180,000 -9,110,000 -11,954,000 -3,769,000 -4,254,000 -8,695,000 -12,176,000 -5,451,000 -10,066,000 -8,722,000 -7,352,000 -18,622,000 -9,669,000 -14,884,000 -8,797,000 -12,876,000 -11,771,000 -8,738,000 -10,129,000 -12,970,000 -9,562,000 -6,094,000 -7,113,000 -14,962,000 -8,006,000 -9,420,000 -4,459,000 -3,702,000 -3,719,000 -5,045,000 -9,928,000 -3,130,000 
          cash flows from financing activities:
                                                       
          proceeds from equity plans, net of withholding tax payments
        -686,000 1,982,000 379,000 5,179,000 -4,685,000 3,385,000 3,262,000 5,815,000 -17,311,000 3,560,000 2,126,000 9,853,000 -4,565,000 2,038,000 1,400,000 5,783,000 6,437,000 5,661,000 3,870,000 7,248,000 -854,000 1,853,000 3,102,000 19,448,000 -1,238,000 1,440,000   -2,397,000 8,672,000 568,000 1,499,000 -1,793,000   9,451,000 -2,173,000           
          purchase of treasury stock
        -29,492,000 -20,516,000 -4,850,000 -39,220,000 -11,000,000 -42,002,000 -34,958,000   -50,001,000 -128,000 -8,015,000 -18,069,000 -14,494,000 -6,117,000 -1,229,000 -13,436,000 -6,093,000 -5,561,000 -3,783,000 -3,390,000 -4,329,000 -5,756,000 -10,950,000 -13,777,000 -4,426,000 -1,073,000 -3,015,000 -2,607,000 -7,589,000 -7,227,000 -7,624,000 -5,974,000 -7,592,000 -8,978,000 -8,203,000 -922,000 -796,000 -3,468,000 -4,722,000       
          debt issuance costs
         -8,000 -4,000 -253,000 -422,000 22,000 -587,000 1,000 -252,000 -490,000 -10,439,000   -3,000 -315,000 -67,000 -22,000 -308,000                              
          proceeds from borrowing under lines of credit
         273,000 172,000 4,129,000 1,642,000 4,868,000 9,508,000 -25,000 4,082,000             166,000 367,000       86,000               
          principal payments on long-term debt
        -29,000 -104,000 -44,000 -37,000 -38,000 -115,000 -41,000 -8,009,000 -98,000 -50,152,000 -200,074,000 -67,464,000 -968,000 -128,000 -522,000 -593,000 -538,000 -613,000 -28,860,000 -5,265,000 -2,002,000 -2,072,000 -2,060,000 -1,941,000 -2,328,000 -1,615,000 -1,600,000 -1,562,000 -1,657,000 -1,408,000 -1,463,000 -1,423,000 -1,411,000 -1,331,000 -5,763,000 -1,276,000 -1,342,000 -4,684,000 -3,554,000 -1,357,000 -5,057,000 -5,018,000 -1,449,000 -1,331,000 -1,193,000 -1,067,000 -1,117,000 
          net cash from financing activities
        -30,207,000 -18,373,000 -4,347,000 -30,202,000 -14,503,000 -33,842,000 -22,816,000 -10,716,000 -13,579,000 -47,083,000 86,613,000 428,111,000 -13,548,000 -16,162,000 -13,931,000 -994,000 4,648,000 -8,696,000 -16,492,000 -5,191,000 -6,639,000 -227,000 -3,026,000 12,456,000 -11,449,000 -10,382,000 -3,888,000 -742,000 11,229,000 16,922,000 17,804,000 1,110,000 -10,828,000 -802,000 -5,513,000 10,315,000 -11,718,000 -1,261,000 13,472,000 1,962,000 -7,033,000 -5,571,000 -3,721,000 7,084,000 4,445,000 -8,553,000 -1,472,000 
          effect of exchange rate changes on cash
        -138,000 -9,000 -41,000 142,000 118,000 -11,000 -63,000 -19,000 -97,000 -238,000 -38,000 -22,000 16,000 19,000 -99,000 -111,000 -29,000 -48,000 -54,000 41,000 -162,000 242,000 192,000 64,000 -146,000 156,000 -249,000 -35,000 24,000 -39,000 -45,000 -349,000 159,000 -160,000 387,000 451,000 -174,000 124,000 130,000 46,000 -219,000 2,136,000 88,000 7,000 22,000 1,105,000 -228,000 
          net increase in cash, cash equivalents, and restricted cash
        762,000 -46,088,000 28,576,000 4,907,000 31,173,000 -40,507,000 2,497,000 -11,529,000 56,852,000 -126,506,000 119,757,000 -25,570,000 20,517,000 -1,146,000 -8,913,000 -6,470,000 46,274,000 19,743,000 -17,746,000 22,755,000 7,329,000 4,732,000 522,000   -11,926,000 -34,762,000   17,603,000 20,664,000 -6,477,000 -11,047,000               
          cash, cash equivalents, and restricted cash at beginning of period
        170,412,000 151,844,000 144,531,000 156,333,000 126,588,000 94,507,000 75,550,000 88,202,000 67,459,000               
          cash, cash equivalents, and restricted cash at end of period
        171,174,000 -46,088,000 28,576,000 4,907,000 183,017,000 -40,507,000 2,497,000 -11,529,000 201,383,000 -126,506,000 119,757,000 -25,570,000 176,850,000 -1,146,000 -8,913,000 -6,470,000 172,862,000 19,743,000 -17,746,000 22,755,000 101,836,000 4,732,000 522,000 32,543,000 56,710,000 -11,926,000 -34,762,000 41,277,000 80,961,000 17,603,000 20,664,000 -6,477,000 56,412,000               
          noncash investing and financing activities:
                                                       
          capital expenditures included in accounts payable
        4,174,000 1,213,000 474,000 -1,164,000 7,218,000 502,000 -1,610,000 787,000 5,943,000 -42,000 815,000                                     
          operating lease right-of-use assets in exchange for operating lease liabilities
        30,709,000 2,016,000 521,000 16,418,000 638,000   631,000 7,292,000 1,448,000 1,150,000 389,000 1,777,000                               
          supplemental disclosures of cash flow information:
                                                       
          interest paid, net of capitalized interest
        7,295,000 4,081,000 7,465,000 4,090,000 7,582,000 4,422,000 8,529,000 5,228,000 8,632,000 5,475,000 9,326,000 1,527,000 1,245,000 1,063,000 793,000 588,000 579,000 241,000 870,000 490,000 508,000 521,000 559,000 560,000 559,000 561,000 597,000 379,000 898,000 648,000 650,000 546,000 532,000 543,000 542,000 402,000 390,000           
          income taxes refunded
        -4,111,000                                               
          impairment of long-lived assets
                                            114,000 217,000 128,000 4,000   78,000 13,000 
          equity in losses of unconsolidated affiliate
             573,000 505,000 390,000 301,000 785,000 57,000 163,000 254,000 703,000                               
          changes in reserve for uncertain tax positions
                                                       
          changes in deferred taxes
                         -2,782,000    -3,800,000 2,000,000 1,638,000 -5,330,000               -4,339,000 6,000 564,000 -4,111,000   
          baqsimi® acquisition
               -5,577,000                                     
          purchase of intangible assets
                                  -151,000                   
          proceeds from issuance of long-term debt
                 345,000,000          3,216,000 3,067,000     431,000   7,865,000   3,591,000 2,882,000 3,725,000 -1,000 -3,000 6,789,000 
          deferred payment for baqsimi® acquisition
                 -5,577,000                                     
          income taxes paid
         402,000 10,000 23,200,000 -902,000 11,104,000 12,068,000 16,583,000 349,000 46,865,000 814,000 986,000 336,000 9,276,000 11,202,000 23,781,000 183,000 2,616,000 903,000 4,547,000 30,000 604,000 2,145,000 453,000 209,000 1,528,000 3,042,000 913,000 234,000 176,000 14,000 141,000 8,000 307,000 4,129,000 440,000     101,000    350,000 2,000 
          proceeds from the sale of property, plant and equipment
                                               18,000     
          equipment acquired under finance leases
                     189,000    33,000 74,000   82,000                     
          amortization of product rights, trademarks, and patents
              6,179,000 6,193,000 6,167,000 6,179,000 6,180,000 230,000 241,000 332,000 392,000 344,000 352,000 360,000 377,000 277,000 276,000 265,000 262,000 251,000 258,000 260,000 251,000 166,000 360,000 265,000 271,000 722,000 729,000 717,000 713,000 705,000 721,000 766,000 701,000 569,000 481,000 480,000 479,000 498,000 481,000 483,000 481,000 
          gain on deconsolidation of subsidiary
                                                      
          anp restructuring
                                                      
          settlement of anp equity awards
                                                     
          repayments under lines of credit
                         -387,000                         
          gain on interest rate swaps and foreign currency transactions
                                                       
          amortization of debt issuance costs and debt modification costs
                                                       
          payment of deposits and other assets
                    -346,000 -1,230,000 -145,000 192,000 -189,000 -1,508,000 -279,000 -305,000 -520,000 -740,000 -112,000 -356,000 -206,000 48,000 -119,000 -97,000 11,000 542,000 -230,000 483,000 -597,000 -11,000 238,000 -1,644,000 521,000 -2,105,000          
          capital expenditure included in accounts payable
                    4,802,000 1,825,000 -2,108,000 -1,170,000 6,709,000 3,242,000 -788,000 796,000 6,238,000 4,659,000 -3,185,000 3,822,000 5,840,000 5,343,000 -1,352,000 120,000 6,511,000                   
          acquisition of additional ownership interest in anp
                                                      
          gain on interest rate swaps
                       -888,000 -3,013,000                               
          loss on equity method investment
                                                       
          proceeds from the private placement of anp
                                 18,298,000 11,834,000                  
          operating lease right-of-use assets
                         26,000 2,212,000 8,700,000 103,000 700,000    130,000 177,000                     
          purchase of short-term investments
                          -5,219,000 -2,739,000 -4,501,000   1,179,000 -510,000 1,010,000    -2,000 -102,000 -3,000 -201,000 -4,384,000 303,000 -1,564,000 -1,332,000          
          maturity of short-term investments
                          8,948,000 4,531,000 3,944,000 11,450,000           2,589,000 -284,000 1,345,000 1,661,000          
          sales of short-term investments
                                                       
          loss on impairment and disposal of assets
                             79,000 131,000 16,000 14,000 167,000 19,000 45,000 805,000                   
          sale of intangible assets
                                     4,400,000 1,000,000 1,000,000           
          income tax refunds, deposits, and payables
                                                       
          income tax refund, deposits, and payable
                                451,000 1,222,000 -2,415,000 3,497,000 -1,713,000 2,656,000 4,417,000 -1,463,000 -1,761,000 -6,623,000 -2,455,000 -3,152,000 394,000           
          net decrease in cash, cash equivalents, and restricted cash
                                -18,840,000    -7,241,000                   
          changes in restricted short-term investments
                                          -2,636,000 -129,000           
          operating lease right-of-use assets and liabilities
                                  -569,000                     
          equity related tax payments, net of proceeds from equity plans
                                                       
          net loss
                                    -2,154,000              -3,008,000 -6,647,000 -665,000   
          loss on disposal and impairment of long-lived assets
                                     1,039,000 -353,000 145,000 598,000 -54,000 278,000 82,000 -2,643,000           
          reserve for uncertain tax positions
                                                       
          business acquisitions
                                                       
          equipment acquired under capital leases
                                              301,000 141,000 9,000  
          changes in short-term investments
                                                       
          changes in restricted cash and short-term investments
                                                       
          net proceeds from equity plans
                                         6,503,000    2,140,000 14,331,000 4,064,000 104,000 1,963,000 816,000 9,813,000 910,000   
          net increase in cash and cash equivalents
                                         -1,326,000 -15,624,000 5,778,000 4,412,000 5,756,000 -62,000 3,328,000 -2,742,000 -4,607,000 -3,782,000 5,875,000 760,000 -5,053,000 8,800,000 
          cash and cash equivalents at beginning of period
                                         72,354,000 66,074,000 67,828,000 
          cash and cash equivalents at end of period
                                         -1,326,000 -15,624,000 5,778,000 76,766,000 5,756,000 -62,000 3,328,000 63,332,000 -4,607,000 -3,782,000 5,875,000 68,588,000 -5,053,000 8,800,000 
          imputed interest accretion
                                           7,000 9,000 17,000 19,000 18,000 18,000 27,000 27,000 28,000 28,000   
          share-based compensation
                                           4,298,000 4,451,000           
          loss on disposal and impairment of property, plant, and equipment
                                                       
          excess tax benefit related to share-based compensation
                                                       
          cost related to public offering
                                                       
          principal payments on short-term debt
                                                       
          loss on disposal of property, plant, and equipment
                                              65,000 579,000 19,000 85,000 28,000 -13,000 4,000 2,000 
          employee share-based compensation expense
                                              3,248,000 3,836,000 3,398,000 2,997,000 2,930,000 3,533,000 2,224,000 2,382,000 2,406,000 
          non-employee share-based compensation expense
                                              307,000 362,000 453,000 461,000 497,000 167,000 6,000 218,000 253,000 
          reserve for income tax liabilities
                                                  -531,000 547,000   
          income tax refund and deposits
                                              2,927,000 354,000 -169,000    -817,000 4,502,000 
          income taxes payable
                                              -3,471,000 2,394,000 1,180,000 991,000 -696,000 -256,000 -131,000 6,015,000 -5,382,000 
          acquisition of business
                                              -7,700,000 -4,761,000     
          purchases of property, plant, and equipment
                                              -6,000,000 -4,929,000 -3,528,000 -3,733,000 -3,945,000 -2,960,000 -3,780,000 -7,553,000 -4,028,000 
          capitalized labor, overhead, and interest on self-constructed assets
                                              -701,000 -469,000 -418,000 -387,000 -367,000 -480,000 -395,000 -1,273,000 -191,000 
          decrease in restricted cash
                                                  
          repurchase of common stock
                                              -100,000 -159,000 -1,083,000 236,000 -116,000 -169,000 -572,000   
          net proceeds from issuance of common stock
                                                     
          excess tax benefit (reduction) related to share-based compensation
                                                       
          deferred offering cost
                                                       
          interest paid
                                                 596,000 448,000 428,000 469,000 1,629,000 405,000 
          payments on treasury stock
                                                  -2,972,000 -1,226,000 -1,489,000   
          depreciation and amortization of property, plant, and equipment
                                                   2,861,000 2,771,000 3,293,000 3,199,000 
          purchase of trademarks and other intangible assets
                                                       
          payments on repurchase of common stock
                                                     96,000  
          net proceeds from exercise of common stock options
                                                     -130,000 130,000 
          costs related to public offering
                                                     
          amortization of imputed interest and debt discount