XML 93 R78.htm IDEA: XBRL DOCUMENT
v3.22.4

EQUITY COMPENSATION PLANS AND STOCK-BASED COMPENSATION - Additional Information (Details) - USD ($) $ / shares in Units, shares in Millions |  | 12 Months Ended
--- | --- | ---
Sep. 19, 2019 | Dec. 31, 2022 | Dec. 31, 2021 | Dec. 31, 2020
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |
Share based awards, authorized (in shares) |  | 41.5 |  |
Span of offering period, in years |  | 24 months |  |
Stock-based compensation expense capitalized to inventory |  | $ 21,300,000 | $ 20,000,000 | $ 20,100,000
Weighted-average fair value per option granted (in dollars per share) |  | $ 32.45 | $ 31.61 | $ 27.47
Total intrinsic value of options exercised |  | $ 32,100,000 | $ 40,700,000 | $ 71,900,000
Net tax benefit from stock options exercised |  | $ 200,000 |  |
Employee Stock Purchase Plan |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |
Share based awards, authorized (in shares) |  | 7.0 |  |
Shares reserved for future issuance (in shares) |  | 2.8 |  |
Options to purchase shares of common stock, percentage |  | 85.00% |  |
Span of offering period, in years |  | 2 years |  |
Maximum percentage of qualified compensation to be used for purchase |  | 10.00% |  |
Maximum payroll deductions |  | $ 25,000 |  |
Shares issued under the employee stock purchase plan (in shares) |  | 0.3 |  |
Unrecognized compensation cost related to unvested awards |  | $ 14,000,000 |  |
Unrecognized compensation cost expected to recognized over weighted average period, in years |  | 1 year 3 months 18 days |  |
Restricted Stock With Service Based Vesting Conditions |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |
Weighted-average fair value per RSU granted (in dollars per share) |  | $ 79.43 | $ 78.46 | $ 77.13
The total intrinsic value of restricted stock vested and released |  | $ 130,100,000 | $ 117,200,000 | $ 109,900,000
Unrecognized compensation cost related to unvested awards |  | $ 251,200,000 |  |
Unrecognized compensation cost expected to recognized over weighted average period, in years |  | 2 years 6 months |  |
Option |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |
Unrecognized compensation cost related to unvested awards |  | $ 31,500,000 |  |
Unrecognized compensation cost expected to recognized over weighted average period, in years |  | 2 years 6 months |  |
Restricted Stock | Independent Director | Common stock: |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |
Vesting period, years | 1 year |  |  |
Initial equity grant value | $ 400,000 |  |  |
Average closing price of common stock, trailing period | 30 days |  |  |
Restricted Stock Unit Awards with non-Revenue based Performance Conditions |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |
Weighted-average fair value per RSU granted (in dollars per share) |  | $ 78.27 | $ 78.09 | $ 84.17
Unrecognized compensation cost related to unvested awards |  | $ 12,800,000 |  |
Unrecognized compensation cost expected to recognized over weighted average period, in years |  | 1 year 2 months 12 days |  |
Award vesting service period |  | 3 years |  |
Restricted Stock Unit Awards with non-Revenue based Performance Conditions | Non-GAAP Income Target |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |
Vesting period, years |  | 3 years |  |
Restricted Stock Unit Awards with non-Revenue based Performance Conditions | Core Operating Margin Target |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |
Vesting period, years |  | 3 years |  |
Restricted Stock Unit Awards with non-Revenue based Performance Conditions | Strategic Goal Target |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |
Vesting period, years |  | 3 years |  |
Restricted Stock Unit Awards with non-Revenue based Performance Conditions | Minimum |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |
Shares earned range |  | 50.00% |  |
Restricted Stock Unit Awards with non-Revenue based Performance Conditions | Maximum |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |
Shares earned range |  | 200.00% |  |
Restricted Stock Unit Awards with Market Conditions |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |
Weighted-average fair value per RSU granted (in dollars per share) |  | $ 124.67 | $ 117.52 |
Unrecognized compensation cost related to unvested awards |  | $ 17,100,000 |  |
Unrecognized compensation cost expected to recognized over weighted average period, in years |  | 1 year 9 months 18 days |  |
Award vesting service period |  | 3 years |  |
Ceiling achievement level |  | 100.00% |  |
Restricted Stock Unit Awards with Market Conditions | Minimum |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |
Weighted-average fair value per RSU granted (in dollars per share) |  |  |  | 112.12
Shares earned range |  | 0.00% |  |
Annual shareholder return multiplier |  | 50.00% |  |
Restricted Stock Unit Awards with Market Conditions | Maximum |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |
Weighted-average fair value per RSU granted (in dollars per share) |  |  |  | $ 217.65
Shares earned range |  | 200.00% |  |
2017 Equity Incentive Plan |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |
Shares reserved for future issuance (in shares) |  | 27.7 |  |
2017 Equity Incentive Plan | Restricted Stock With Service Based Vesting Conditions |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |
Vesting period, years |  | 4 years |  |
2017 Equity Incentive Plan | Restricted Stock Unit Awards with Performance-Based Vesting Conditions |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |
Vesting period, years |  | 3 years |  |
Initial time period vesting requirements |  | 3 years |  |
2017 Equity Incentive Plan | Option |  |  |  |
Share-based Compensation Arrangement by Share-based Payment Award [Line Items] |  |  |  |
Vesting period, years |  | 4 years |  |
Initial time period vesting requirements |  | 12 months |  |
Contractual term of stock option awards, years |  | 10 years |  |

X
- Definition Annual Shareholder Return Multiplier On Absolute Basis, Percentage + References No definition available. + Details
Name: | bmrn_AnnualShareholderReturnMultiplierOnAbsoluteBasisPercentage
Namespace Prefix: | bmrn_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Average closing price trailing period. + References No definition available. + Details
Name: | bmrn_AverageClosingPriceTrailingPeriod
Namespace Prefix: | bmrn_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum payroll deductions. + References No definition available. + Details
Name: | bmrn_MaximumPayrollDeductions
Namespace Prefix: | bmrn_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Share Based Compensation Arrangement By Share Based Payment Award, Annual Performance Metric, Percentage + References No definition available. + Details
Name: | bmrn_ShareBasedCompensationArrangementByShareBasedPaymentAwardAnnualPerformanceMetricPercentage
Namespace Prefix: | bmrn_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share based compensation arrangement by share based payment award initial time period vesting requirement. + References No definition available. + Details
Name: | bmrn_ShareBasedCompensationArrangementByShareBasedPaymentAwardInitialTimePeriodVestingRequirement
Namespace Prefix: | bmrn_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Share Based Compensation Arrangement By Share Based Payments, Annual Target Ceiling, Base Percentage + References No definition available. + Details
Name: | bmrn_ShareBasedCompensationArrangementByShareBasedPaymentsAnnualTargetCeilingBasePercentage
Namespace Prefix: | bmrn_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Span of offering period. + References No definition available. + Details
Name: | bmrn_SpanOfOfferingPeriod
Namespace Prefix: | bmrn_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of cost capitalized for award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (h)(1)(ii) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of cost not yet recognized for nonvested award under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Weighted-average period over which cost not yet recognized is expected to be recognized for award under share-based payment arrangement, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (i) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of tax benefit from exercise of option under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2A -Subparagraph (a) -URI https://asc.fasb.org/extlink&oid=128089324&loc=SL79508275-113901 + Details
Name: | us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromExerciseOfStockOptions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Estimated period over which an employee is required to provide service in exchange for the equity-based payment award, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Period over which grantee's right to exercise award under share-based payment arrangement is no longer contingent on satisfaction of service or performance condition, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents reported fact of one year, five months, and thirteen days. Includes, but is not limited to, combination of market, performance or service condition. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(1) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition The weighted average fair value at grant date for nonvested equity-based awards issued during the period on other than stock (or unit) option plans (for example, phantom stock or unit plan, stock or unit appreciation rights plan, performance target plan). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (c)(2)(iii)(01) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References No definition available. + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The highest percentage of annual salary that an employee is permitted to utilize with respect to the plan. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardMaximumEmployeeSubscriptionRate
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Number of shares authorized for issuance under share-based payment arrangement. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(3) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition The difference between the maximum number of shares (or other type of equity) authorized for issuance under the plan (including the effects of amendments and adjustments), and the sum of: 1) the number of shares (or other type of equity) already issued upon exercise of options or other equity-based awards under the plan; and 2) shares (or other type of equity) reserved for issuance on granting of outstanding awards, net of cancellations and forfeitures, if applicable. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of accumulated difference between fair value of underlying shares on dates of exercise and exercise price on options exercised (or share units converted) into shares. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(2) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisesInPeriodTotalIntrinsicValue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition The weighted average grant-date fair value of options granted during the reporting period as calculated by applying the disclosed option pricing methodology. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (d)(1) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodWeightedAverageGrantDateFairValue
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | duration

X
- Definition Intrinsic value of vested award under share-based payment arrangement. Excludes share and unit options. + References No definition available. + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardEquityInstrumentsOtherThanOptionsAggregateIntrinsicValueVested
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Period from grant date that an equity-based award expires, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Publisher FASB -Name Accounting Standards Codification -Topic 718 -SubTopic 10 -Section 50 -Paragraph 2 -Subparagraph (a)(2) -URI https://asc.fasb.org/extlink&oid=128089324&loc=d3e5070-113901 + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardExpirationPeriod
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Purchase price of common stock expressed as a percentage of its fair value. + References No definition available. + Details
Name: | us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardPurchasePriceOfCommonStockPercent
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Value, before forfeiture, of shares granted under share-based payment arrangement. Excludes employee stock ownership plan (ESOP). + References No definition available. + Details
Name: | us-gaap_StockGrantedDuringPeriodValueSharebasedCompensationGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Number, after forfeiture, of shares or units issued under share-based payment arrangement. Excludes shares or units issued under employee stock ownership plan (ESOP). + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section 50 -Paragraph 2 -URI https://asc.fasb.org/extlink&oid=126973232&loc=d3e21463-112644 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 505 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.3-04) -URI https://asc.fasb.org/extlink&oid=120397183&loc=d3e187085-122770 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(28)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 Reference 4: http://fasb.org/us-gaap/role/ref/legacyRef -Publisher FASB -Name Accounting Standards Codification -Topic 210 -SubTopic 10 -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(29)) -URI https://asc.fasb.org/extlink&oid=120391452&loc=d3e13212-122682 + Details
Name: | us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_SubsidiarySaleOfStockAxis=us-gaap_EmployeeStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=bmrn_RestrictedStockWithServiceBasedVestingConditionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_EmployeeStockOptionMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=us-gaap_RestrictedStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_TitleOfIndividualAxis=bmrn_IndependentDirectorMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_StatementEquityComponentsAxis=us-gaap_CommonStockMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=bmrn_TwoThousandTwentyBaseRestrictedStockUnitAwardsWithNonRevenueBasedVestingConditionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=bmrn_ShareBasedPaymentAwardNonGAAPIncomeTargetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=bmrn_ShareBasedPaymentAwardCoreOperatingMarginTargetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VestingAxis=bmrn_ShareBasedPaymentAwardStrategicGoalTargetMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=bmrn_TwoThousandTwentyBaseRestrictedStockUnitAwardsWithMarketBasedVestingConditionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_PlanNameAxis=bmrn_TwoThousandSeventeenEquityIncentivePlanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_AwardTypeAxis=bmrn_TwoThousandNineteenBaseRestrictedStockUnitAwardsWithRevenueBasedVestingConditionsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |