XML 41 R31.htm IDEA: XBRL DOCUMENT
v3.23.2

FINANCIAL INSTRUMENTS - Additional Information (Details) - USD ($) $ in Thousands | 3 Months Ended | 6 Months Ended |
--- | --- | --- | ---
Mar. 31, 2023 | Jun. 30, 2023 | Jun. 30, 2022 | Dec. 31, 2022
Schedule of Available-for-sale Securities [Line Items] |  |  |  |
Loss on equity investment | $ 12,600 | $ 12,650 | $ 0 |
Strategic Investment | Fair Value, Measurements, Recurring |  |  |  |
Schedule of Available-for-sale Securities [Line Items] |  |  |  |
Strategic investments fair value |  | $ 11,300 |  | $ 23,900

X
- Definition Schedule of cash, cash equivalents and available-for-sale securities. + References No definition available. + Details
Name: | bmrn_ScheduleOfCashCashEquivalentsAndAvailableForSaleSecuritiesLineItems
Namespace Prefix: | bmrn_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of investment in equity security without readily determinable fair value. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 321 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479536/321-10-50-3 + Details
Name: | us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Amount of impairment loss on investment in equity security without readily determinable fair value. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 321 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147479536/321-10-50-3 + Details
Name: | us-gaap_EquitySecuritiesWithoutReadilyDeterminableFairValueImpairmentLossAnnualAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_FairValueByAssetClassAxis=bmrn_StrategicInvestmentMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_FairValueByMeasurementFrequencyAxis=us-gaap_FairValueMeasurementsRecurringMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |