XML 112 R99.htm IDEA: XBRL DOCUMENT
v3.22.0.1

COMMITMENTS AND CONTINGENCIES - Additional Information (Detail) - USD ($) $ in Millions | 3 Months Ended | 12 Months Ended
--- | --- | ---
Dec. 31, 2021 | Jun. 30, 2020 | Dec. 31, 2021
Commitments and Contingencies [Line Items] |  |  |
Contingent payments upon achievement of certain development and regulatory activities and commercial sales and licensing milestones |  |  | $ 788.5
Purchase commitment | $ 133.3 |  | $ 133.3
Early Stage Development Program | Third Party |  |  |
Commitments and Contingencies [Line Items] |  |  |
Contingent payments upon achievement of certain development and regulatory activities and commercial sales and licensing milestones | $ 389.0 | $ 225.0 |

X
- Definition Commitments and contingencies. + References No definition available. + Details
Name: | bmrn_CommitmentsAndContingenciesLineItems
Namespace Prefix: | bmrn_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Contingent payments upon achievement of certain development and regulatory activities and commercial sales and licensing milestones. + References No definition available. + Details
Name: | bmrn_ContingentPaymentsReasonablyPossibleUponAchievementOfCertainDevelopmentAndRegulatoryActivitiesCommercialSalesAndLicensingMilestones
Namespace Prefix: | bmrn_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Minimum amount of purchase arrangement in which the entity has agreed to expend funds to procure goods or services from a supplier. + References No definition available. + Details
Name: | us-gaap_PurchaseObligation
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_ContingentConsiderationByTypeAxis=bmrn_EarlyStageDevelopmentProgramMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=bmrn_ThirdPartyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |