XML 72 R59.htm IDEA: XBRL DOCUMENT
v3.22.0.1

SUPPLEMENTAL BALANCE SHEET INFORMATION - Schedule of Estimated Accrued Rebates and Reserve for Cash Discounts (Detail) - USD ($) $ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2021 | Dec. 31, 2020 | Dec. 31, 2019
Accrued rebates |  |  |
Supplemental Balance Sheet Information [Line Items] |  |  |
Balance at Beginning of Period | $ 65,526 | $ 57,163 | $ 43,116
Provision for Current Period Sales | 116,691 | 113,165 | 91,748
Payments | (134,230) | (104,802) | (77,701)
Balance at End of Period | 47,987 | 65,526 | 57,163
Reserve for cash discounts |  |  |
Supplemental Balance Sheet Information [Line Items] |  |  |
Balance at Beginning of Period | 1,716 | 1,889 | 1,197
Provision for Current Period Sales | 16,003 | 17,191 | 15,335
Payments | (15,706) | (17,364) | (14,643)
Balance at End of Period | $ 2,013 | $ 1,716 | $ 1,889

X
- Definition Supplemental balance sheet information + References No definition available. + Details
Name: | bmrn_SupplementalBalanceSheetInformationLineItems
Namespace Prefix: | bmrn_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of valuation and qualifying accounts and reserves. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column B)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column E)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690 + Details
Name: | us-gaap_ValuationAllowancesAndReservesBalance
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of increase in valuation and qualifying accounts and reserves from charge to cost and expense. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column C)(1)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690 + Details
Name: | us-gaap_ValuationAllowancesAndReservesChargedToCostAndExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition Amount of decrease in valuation and qualifying accounts and reserves. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Publisher FASB -Name Accounting Standards Codification -Topic 235 -SubTopic 10 -Section S99 -Paragraph 4 -Subparagraph (SX 210.12-09(Column D)) -URI http://asc.fasb.org/extlink&oid=120395691&loc=d3e24092-122690 + Details
Name: | us-gaap_ValuationAllowancesAndReservesDeductions
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Details
Name: | us-gaap_ValuationAllowancesAndReservesTypeAxis=bmrn_AccruedRebatesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_ValuationAllowancesAndReservesTypeAxis=bmrn_AllowancesForReserveForCashDiscountsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |