XML 60 R46.htm IDEA: XBRL DOCUMENT v3.21.2
Income (Loss) per Share Attributable to Amphastar Pharmaceuticals, Inc. Stockholders (Narrative) (Details) - Stock Options - $ / shares
3 Months Ended 9 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Sep. 30, 2021
Sep. 30, 2020
Antidilutive Securities Excluded from Computation of Earnings Per Share [Line Items]        
Antidilutive Securities Excluded from Computation of Earnings Per Share, Shares 1,885,093 1,271,347 2,045,878 1,928,629
Antidilutive Securities Excluded from Computation of Earnings Per Share, Exercise Price of Excluded Securities $ 20.86 $ 21.35 $ 20.74 $ 20.84