XML 44 R31.htm IDEA: XBRL DOCUMENT
v3.22.0.1

FINANCIAL INSTRUMENTS (Tables) | 12 Months Ended
--- | ---
Dec. 31, 2021
Investments, Debt and Equity Securities [Abstract] |
Schedule of Cash Cash Equivalents and Available-for-Sale Securities by Significant Investment Category | The following tables show the Company’s cash, cash equivalents and available-for-sale securities by significant investment category as of December 31, 2021 and 2020, respectively:
| December 31, 2021
| Amortized Cost |  | Gross Unrealized Gains |  | Gross Unrealized Losses |  | Aggregate Fair Value |  | Cash and Cash Equivalents |  | Short-term Marketable Securities (1) |  | Long-term Marketable Securities (2)
Level 1: |  |  |  |  |  |  |  |  |  |  |  |  |
Cash | $ | 301,177 |  |  | $ | — |  |  | $ | — |  |  | $ | 301,177 |  |  | $ | 301,177 |  |  | $ | — |  |  | $ | — |
Level 2: |  |  |  |  |  |  |  |  |  |  |  |  |
Money market instruments | 285,099 |  |  | — |  |  | — |  |  | 285,099 |  |  | 285,099 |  |  | — |  |  | — |
Corporate debt securities | 584,000 |  |  | 386 |  |  | (2,086) |  |  | 582,300 |  |  | — |  |  | 200,304 |  |  | 381,996 |
U.S. government agency securities | 224,774 |  |  | 182 |  |  | (325) |  |  | 224,631 |  |  | — |  |  | 146,421 |  |  | 78,210 |
Commercial paper | 68,384 |  |  | — |  |  | — |  |  | 68,384 |  |  | 1,000 |  |  | 67,384 |  |  | — |
Asset-backed securities | 56,936 |  |  | 10 |  |  | (95) |  |  | 56,851 |  |  | — |  |  | 9,451 |  |  | 47,400 |
Foreign and other | 3,097 |  |  | 141 |  |  | (12) |  |  | 3,226 |  |  | — |  |  | 3,039 |  |  | 187 |
Subtotal | 1,222,290 |  |  | 719 |  |  | (2,518) |  |  | 1,220,491 |  |  | 286,099 |  |  | 426,599 |  |  | 507,793 |
Total | $ | 1,523,467 |  |  | $ | 719 |  |  | $ | (2,518) |  |  | $ | 1,521,668 |  |  | $ | 587,276 |  |  | $ | 426,599 |  |  | $ | 507,793 |
| December 31, 2020
| Amortized Cost |  | Gross Unrealized Gains |  | Gross Unrealized Losses |  | Aggregate Fair Value |  | Cash and Cash Equivalents |  | Short-term Marketable Securities (1) |  | Long-term Marketable Securities (2)
Level 1: |  |  |  |  |  |  |  |  |  |  |  |  |
Cash | $ | 370,325 |  |  | $ | — |  |  | $ | — |  |  | $ | 370,325 |  |  | $ | 370,325 |  |  | $ | — |  |  | $ | — |
Level 2: |  |  |  |  |  |  |  |  |  |  |  |  |
Money market instruments | 264,833 |  |  | — |  |  | — |  |  | 264,833 |  |  | 264,833 |  |  | — |  |  | — |
Corporate debt securities | 413,137 |  |  | 3,261 |  |  | (8) |  |  | 416,390 |  |  | — |  |  | 220,551 |  |  | 195,839 |
U.S. government agency securities | 265,298 |  |  | 1,555 |  |  | (1) |  |  | 266,852 |  |  | 14,000 |  |  | 192,488 |  |  | 60,364 |
Asset-backed securities | 31,659 |  |  | 85 |  |  | (2) |  |  | 31,742 |  |  | — |  |  | 3,189 |  |  | 28,553 |
Foreign and other | 549 |  |  | 168 |  |  | — |  |  | 717 |  |  | — |  |  | — |  |  | 717 |
Subtotal | 975,476 |  |  | 5,069 |  |  | (11) |  |  | 980,534 |  |  | 278,833 |  |  | 416,228 |  |  | 285,473 |
Total | $ | 1,345,801 |  |  | $ | 5,069 |  |  | $ | (11) |  |  | $ | 1,350,859 |  |  | $ | 649,158 |  |  | $ | 416,228 |  |  | $ | 285,473 |
(1)The Company’s short-term marketable securities mature in one year or less. (2)The Company’s long-term marketable securities mature between one and five years.

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

X
- References No definition available. + Details
Name: | us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration