XML 100 R87.htm IDEA: XBRL DOCUMENT v3.22.0.1
OTHER EMPLOYEE BENEFITS - Additional Information (Detail) - BioMarin Retirement Savings Plan - USD ($)
$ in Millions
12 Months Ended
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Deferred Compensation Arrangement with Individual, Excluding Share-based Payments and Postretirement Benefits [Line Items]      
Company's contribution to match employees contribution 100.00%    
Employer contribution of maximum percentage over employee's annual compensation 6.00%    
Company's contribution from employment commencement $ 31.6 $ 26.4 $ 28.5